Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <asm/io.h>
#include <asm/irq.h>
#include "usb.h"
Go to the source code of this file.
EXPORT_SYMBOL_GPL | ( | usb_hcd_pci_probe | ) |
EXPORT_SYMBOL_GPL | ( | usb_hcd_pci_remove | ) |
EXPORT_SYMBOL_GPL | ( | usb_hcd_pci_shutdown | ) |
usb_hcd_pci_probe - initialize PCI-based HCDs : USB Host Controller being probed : pci hotplug id connecting controller to HCD framework Context: !in_interrupt()
Allocates basic PCI resources for this USB host controller, and then invokes the start() method for the HCD associated with it through the hotplug entry's driver_data.
Store this function in the HCD's struct pci_driver as probe().
usb_hcd_pci_remove - shutdown processing for PCI-based HCDs : USB Host Controller being removed Context: !in_interrupt()
Reverses the effect of usb_hcd_pci_probe(), first invoking the HCD's stop() method. It is always called from a thread context, normally "rmmod", "apmd", or something similar.
Store this function in the HCD's struct pci_driver as remove().