Reference

ata_std_softreset(9)

reset host port via ATA SRST

NAME

ata_std_softreset - reset host port via ATA SRST

SYNOPSIS

int ata_std_softreset(struct ata_port * ap, unsigned int * classes);

ARGUMENTS

ap

port to reset

classes

resulting classes of attached devices

DESCRIPTION

Reset host port using ATA SRST.

LOCKING

Kernel thread context (may sleep)

RETURNS

0 on success, -errno otherwise.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT