piix_sata_softreset(9)
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 re
- liable 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.