---
name: "ata_std_dev_select"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_std_dev_select"
---

# ata\_std\_dev\_select(9)

Select device 0/1 on ATA bus

## NAME

ata\_std\_dev\_select - Select device 0/1 on ATA bus

## SYNOPSIS

**void ata\_std\_dev\_select(struct ata\_port \*** *ap***, unsigned int** *device***);**

## ARGUMENTS

*ap*

ATA channel to manipulate

*device*

ATA device (numbered from zero) to select

## DESCRIPTION

Use the method defined in the ATA specification to make either device 0, or device 1, active on the ATA channel. Works with both PIO and MMIO.

May be used as the **dev\_select** entry in ata\_port\_operations.

## LOCKING

caller.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
