---
name: "ata_dev_configure"
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_configure"
---

# ata\_dev\_configure(9)

Configure the specified ATA/ATAPI device

## NAME

ata\_dev\_configure - Configure the specified ATA/ATAPI device

## SYNOPSIS

**int ata\_dev\_configure(struct ata\_device \*** *dev***);**

## ARGUMENTS

*dev*

Target device to configure

## DESCRIPTION

Configure *dev* according to *dev*-\>id. Generic and low-level driver specific fixups are also applied.

LOCKING: Kernel thread context (may sleep)

## RETURN

0 on success, -errno otherwise

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
