1. NAME

ata_pci_remove_one - PCI layer callback for device removal

2. SYNOPSIS

void ata_pci_remove_one(struct pci_dev *  pdev );

3. ARGUMENTS

pdev
    PCI device that was removed

4. DESCRIPTION

PCI layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres.

5. LOCKING

Inherited from PCI layer (may sleep).

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT