1. NAME

ata_port_detach - Detach ATA port in prepration of device removal

2. SYNOPSIS

void ata_port_detach(struct ata_port *  ap );

3. ARGUMENTS

ap
    ATA port to be detached

4. DESCRIPTION

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

5. LOCKING

Kernel thread context (may sleep).

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT