other versions
ATA_DEV_REVALIDATE(9) | libata Core Internals | ATA_DEV_REVALIDATE(9) |
NAME¶
ata_dev_revalidate - Revalidate ATA deviceSYNOPSIS¶
int ata_dev_revalidate(struct ata_device * dev, unsigned int new_class, unsigned int readid_flags);
ARGUMENTS¶
struct ata_device * devdevice to revalidate
unsigned int new_class
new class code
unsigned int readid_flags
read ID flags
DESCRIPTION¶
Re-read IDENTIFY page, make sure dev is still attached to the port and reconfigure it according to the new IDENTIFY page.LOCKING: Kernel thread context (may sleep)
RETURN¶
0 on success, negative errno otherwiseAUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |