Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
remove.c File Reference
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/pci-aspm.h>
#include "pci.h"

Go to the source code of this file.

Functions

void pci_remove_bus (struct pci_bus *bus)
 
 EXPORT_SYMBOL (pci_remove_bus)
 
void pci_stop_and_remove_bus_device (struct pci_dev *dev)
 
 EXPORT_SYMBOL (pci_stop_and_remove_bus_device)
 

Function Documentation

EXPORT_SYMBOL ( pci_remove_bus  )
EXPORT_SYMBOL ( pci_stop_and_remove_bus_device  )
void pci_remove_bus ( struct pci_bus bus)

Definition at line 43 of file remove.c.

void pci_stop_and_remove_bus_device ( struct pci_dev dev)

pci_stop_and_remove_bus_device - remove a PCI device and any children : the device to remove

Remove a PCI device from the device lists, informing the drivers that the device has been removed. We also remove any subordinate buses and children in a depth-first manner.

For each device we remove, delete the device structure from the device lists, remove the /proc entry, and notify userspace (/sbin/hotplug).

Definition at line 108 of file remove.c.