---
name: "piix_sata_softreset"
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_softreset"
---

# piix\_sata\_softreset(9)

reset SATA host port via ATA SRST

## NAME

piix\_sata\_softreset - reset SATA host port via ATA SRST

## SYNOPSIS

**int piix\_sata\_softreset(struct ata\_port \*** *ap***, unsigned int \*** *classes***);**

## ARGUMENTS

*ap*

port to reset

*classes*

resulting classes of attached devices

## DESCRIPTION

Reset SATA host port via ATA SRST. On controllers with reliable PCS present bits, the bits are used to determine device presence.

## LOCKING

Kernel thread context (may sleep)

## RETURNS

0 on success, -errno otherwise.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
