ata_dev_read_id — Read ID data from the specified device
int ata_dev_read_id ( | struct ata_port * | ap, |
| struct ata_device * | dev, | |
| unsigned int * | p_class, | |
| int | post_reset, | |
| u16 ** | p_id); |
apport on which target device resides
devtarget device
p_classpointer to class of the target device (may be changed)
post_resetis this read ID post-reset?
p_idread IDENTIFY page (newly allocated)