'\" t .\" Title: ata_bus_probe .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata Core Internals .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_BUS_PROBE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "libata Core Internals" .\" ----------------------------------------------------------------- .\" * 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" ata_bus_probe \- Reset and probe ATA bus .SH "SYNOPSIS" .HP \w'int\ ata_bus_probe('u .BI "int ata_bus_probe(struct\ ata_port\ *\ " "ap" ");" .SH "ARGUMENTS" .PP \fIap\fR .RS 4 Bus to probe .RE .SH "DESCRIPTION" .PP Master ATA bus probing function\&. Initiates a hardware\-dependent bus reset, then attempts to identify any devices found on the bus\&. .PP LOCKING: PCI/etc\&. bus probe sem\&. .SH "RETURN" .PP Zero on success, negative errno otherwise\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br