1ATA_PORT_DETACH(9)           libata Core Internals          ATA_PORT_DETACH(9)
2
3
4

NAME

6       ata_port_detach - Detach ATA port in prepration of device removal
7

SYNOPSIS

9       void ata_port_detach(struct ata_port * ap);
10

ARGUMENTS

12       ap
13           ATA port to be detached
14

DESCRIPTION

16       Detach all ATA devices and the associated SCSI devices of ap; then,
17       remove the associated SCSI host.  ap is guaranteed to be quiescent on
18       return from this function.
19

LOCKING

21       Kernel thread context (may sleep).
22

AUTHOR

24       Jeff Garzik
25           Author.
26
28Kernel Hackers Manual 2.6.       November 2011              ATA_PORT_DETACH(9)
Impressum