'\" t .\" Title: ata_port_detach .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: libata Core Internals .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "ATA_PORT_DETACH" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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_port_detach \- Detach ATA port in prepration of device removal .SH "SYNOPSIS" .HP \w'void\ ata_port_detach('u .BI "void ata_port_detach(struct\ ata_port\ *\ " "ap" ");" .SH "ARGUMENTS" .PP \fIap\fR .RS 4 ATA port to be detached .RE .SH "DESCRIPTION" .PP Detach all ATA devices and the associated SCSI devices of \fIap\fR; then, remove the associated SCSI host\&. \fIap\fR is guaranteed to be quiescent on return from this function\&. .SH "LOCKING" .PP Kernel thread context (may sleep)\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br