Provided by: linux-doc-2.6.15_2.6.15-23.39_all
ata_dev_try_classify - Parse returned ATA device signature
u8 ata_dev_try_classify (struct ata_port * ap, unsigned int device);
ap ATA channel to examine
device Device to examine (starting at zero)
After an event -- SRST, E.D.D., or SATA COMRESET -- occurs, an
ATA/ATAPI-defined set of values is placed in the ATA shadow registers,
indicating the results of device detection and diagnostics.
Select the ATA device, and read the values from the ATA shadow
registers. Then parse according to the Error register value, and the
spec-defined values examined by ata_dev_classify.