1ATA_DEV_REVALIDATE(9)        libata Core Internals       ATA_DEV_REVALIDATE(9)
2
3
4

NAME

6       ata_dev_revalidate - Revalidate ATA device
7

SYNOPSIS

9       int ata_dev_revalidate(struct ata_device * dev, unsigned int new_class,
10                              unsigned int readid_flags);
11

ARGUMENTS

13       dev
14           device to revalidate
15
16       new_class
17           new class code
18
19       readid_flags
20           read ID flags
21

DESCRIPTION

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

LOCKING

27       Kernel thread context (may sleep)
28

RETURNS

30       0 on success, negative errno otherwise
31

AUTHOR

33       Jeff Garzik
34           Author.
35
37Kernel Hackers Manual 3.10         June 2019             ATA_DEV_REVALIDATE(9)
Impressum