Name
ata_std_softreset —
reset host port via ATA SRST
Synopsis
int ata_std_softreset (
struct ata_port * ap, int verbose, unsigned int * classes)
;
Arguments
ap
port to reset
verbose
fail verbosely
classes
resulting classes of attached devices
Description
Reset host port using ATA SRST. This function is to be used
as standard callback for ata_drive_*_reset
functions.
LOCKING
Kernel thread context (may sleep)
RETURNS
0 on success, -errno otherwise.