ata_std_softreset9
Reset host port via ata srst
Usage
int ata_std_softreset(struct ata_port * ap, unsigned int * classes);
Arguments
ap
port to reset
classes
resulting classes of attached devices
Overview
Reset host port using ATA SRST.
Locking
Kernel thread context (may sleep)
Returns
0 on success, -errno otherwise.