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.