piix_sata_softreset9
Reset sata host port via ata srst
Usage
int piix_sata_softreset(struct ata_port * ap, unsigned int * classes);
Arguments
ap
port to reset
classes
resulting classes of attached devices
Overview
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.