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

# piix\_sata\_present\_mask(9)

determine present mask for SATA host controller

## NAME

piix\_sata\_present\_mask - determine present mask for SATA host controller

## SYNOPSIS

**unsigned int piix\_sata\_present\_mask(struct ata\_port \*** *ap***);**

## ARGUMENTS

*ap*

Target port

## DESCRIPTION

Reads SATA PCI device's PCI config register Port Configuration and Status (PCS) to determine port and device availability.

## LOCKING

None (inherited from caller).

## RETURNS

determined present\_mask

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
