.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ATA_PCI_REMOVE_ONE" "9" "09 October 2005" "" ""
.SH NAME
ata_pci_remove_one \- PCI layer callback for device removal
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void ata_pci_remove_one (struct pci_dev * \fIpdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpdev\fB\fR
PCI device that was removed
.SH "DESCRIPTION"
.PP
PCI layer indicates to libata via this hook that
hot-unplug or module unload event has occured.
Handle this by unregistering all objects associated
with this PCI device. Free those objects. Then finally
release PCI resources and disable device.
.SH "LOCKING"
.PP
Inherited from PCI layer (may sleep).