|
@@ -21,6 +21,17 @@
|
|
#include <asm/firmware.h>
|
|
#include <asm/firmware.h>
|
|
#include <asm/eeh.h>
|
|
#include <asm/eeh.h>
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * pcibios_release_device - release PCI device
|
|
|
|
+ * @dev: PCI device
|
|
|
|
+ *
|
|
|
|
+ * The function is called before releasing the indicated PCI device.
|
|
|
|
+ */
|
|
|
|
+void pcibios_release_device(struct pci_dev *dev)
|
|
|
|
+{
|
|
|
|
+ eeh_remove_device(dev, 1);
|
|
|
|
+}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* __pcibios_remove_pci_devices - remove all devices under this bus
|
|
* __pcibios_remove_pci_devices - remove all devices under this bus
|
|
* @bus: the indicated PCI bus
|
|
* @bus: the indicated PCI bus
|