ata_dev_revalidate(9)

ata_dev_revalidate9

Revalidate ata device

Usage

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

Arguments

dev

device to revalidate

new_class

new class code

readid_flags

read ID flags

Overview

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 otherwise

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.