ata_std_softreset(9)

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.

Author

Jeff Garzik

Author.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Also shipped by linux-manual-2.6.24. Parsed by carta from the page's man source.