---
name: "piix_set_piomode"
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/piix_set_piomode"
---

# piix\_set\_piomode(9)

Initialize host controller PATA PIO timings

## NAME

piix\_set\_piomode - Initialize host controller PATA PIO timings

## SYNOPSIS

**void piix\_set\_piomode(struct ata\_port \*** *ap***, struct ata\_device \*** *adev***);**

## ARGUMENTS

*ap*

Port whose timings we are configuring

*adev*

Drive in question

## DESCRIPTION

Set PIO mode for device, in host controller PCI config space.

LOCKING: None (inherited from caller).

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
