'\" t .\" Title: sata_std_hardreset .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SATA_STD_HARDRESET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "libata Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" sata_std_hardreset \- COMRESET w/o waiting or classification .SH "SYNOPSIS" .HP \w'int\ sata_std_hardreset('u .BI "int sata_std_hardreset(struct\ ata_link\ *\ " "link" ", unsigned\ int\ *\ " "class" ", unsigned\ long\ " "deadline" ");" .SH "ARGUMENTS" .PP \fIlink\fR .RS 4 link to reset .RE .PP \fIclass\fR .RS 4 resulting class of attached device .RE .PP \fIdeadline\fR .RS 4 deadline jiffies for the operation .RE .SH "DESCRIPTION" .PP Standard SATA COMRESET w/o waiting or classification\&. .PP LOCKING: Kernel thread context (may sleep) .SH "RETURN" .PP 0 if link offline, \-EAGAIN if link online, \-errno on errors\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br