1ATA_DEV_REVALIDATE(9) libata Core Internals ATA_DEV_REVALIDATE(9)
2
3
4
6 ata_dev_revalidate - Revalidate ATA device
7
9 int ata_dev_revalidate(struct ata_device * dev, unsigned int new_class,
10 unsigned int readid_flags);
11
13 dev
14 device to revalidate
15
16 new_class
17 new class code
18
19 readid_flags
20 read ID flags
21
23 Re-read IDENTIFY page, make sure dev is still attached to the port and
24 reconfigure it according to the new IDENTIFY page.
25
27 Kernel thread context (may sleep)
28
30 0 on success, negative errno otherwise
31
33 Jeff Garzik
34 Author.
35
37Kernel Hackers Manual 3.10 June 2019 ATA_DEV_REVALIDATE(9)