ata_dev_revalidate — Revalidate ATA device
int ata_dev_revalidate
(struct ata_device * dev, unsigned int new_class, unsigned int readid_flags);
device to revalidate
new class code
read ID flags
Re-read IDENTIFY page, make sure dev is still attached to the port and reconfigure it according to the new IDENTIFY page.
Kernel thread context (may sleep)
0 on success, negative errno otherwise