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) ; |
ap
port on which target device resides
dev
target device
p_class
pointer to class of the target device (may be changed)
post_reset
is this read ID post-reset?
p_id
read IDENTIFY page (newly allocated)