ata_dev_read_id — Read ID data from the specified device
int ata_dev_read_id ( | struct ata_device * | dev, |
| unsigned int * | p_class, | |
| int | post_reset, | |
| u16 * | id); |
devtarget device
p_classpointer to class of the target device (may be changed)
post_resetis this read ID post-reset?
idbuffer to read IDENTIFY data into