---
name: "ata_dev_revalidate"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_dev_revalidate"
---

# ata\_dev\_revalidate(9)

Revalidate ATA device

## NAME

ata\_dev\_revalidate - Revalidate ATA device

## SYNOPSIS

**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

## 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 otherwise

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
