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) ; |
dev
target device
p_class
pointer to class of the target device (may be changed)
post_reset
is this read ID post-reset?
id
buffer to read IDENTIFY data into