1. NAME▲

ata_dev_revalidate - Revalidate ATA device

2. SYNOPSIS ▲

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

3. ARGUMENTS ▲

dev
    device to revalidate

new_class
    new class code

readid_flags
    read ID flags

4. DESCRIPTION ▲

Re-read IDENTIFY page, make sure dev is still attached to the port and reconfigure it according to the new IDENTIFY page.

5. LOCKING ▲

Kernel thread context (may sleep)

6. RETURNS ▲

0 on success, negative errno otherwise

7. AUTHOR ▲

Jeff Garzik
    Author.

8. COPYRIGHT ▲