Name

ata_pci_remove_one — PCI layer callback for device removal

Synopsis

void ata_pci_remove_one (struct pci_dev * pdev);

Arguments

pdev

PCI device that was removed

Description

PCI layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Handle this by unregistering all objects associated with this PCI device. Free those objects. Then finally release PCI resources and disable device.

LOCKING

Inherited from PCI layer (may sleep).