1ATA_PORT_DETACH(9) libata Core Internals ATA_PORT_DETACH(9)
2
3
4
6 ata_port_detach - Detach ATA port in prepration of device removal
7
9 void ata_port_detach(struct ata_port * ap);
10
12 ap
13 ATA port to be detached
14
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
21 Kernel thread context (may sleep).
22
24 Jeff Garzik
25 Author.
26
28Kernel Hackers Manual 2.6. November 2011 ATA_PORT_DETACH(9)