summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/wd7000.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-09-23 23:20:00 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-27 00:51:13 +0200
commitda3c9c4fc5ff47da0febb7658c51d20d22e34f58 (patch)
tree41db0a25aaeb011851a8f8833dd3bcc73c65d1b4 /drivers/scsi/wd7000.c
parentusb/xhci: replace pci_*_consistent() with dma_*_coherent() (diff)
downloadlinux-da3c9c4fc5ff47da0febb7658c51d20d22e34f58.tar.xz
linux-da3c9c4fc5ff47da0febb7658c51d20d22e34f58.zip
usb/xhci: refactor xhci_pci_setup()
xhci_pci_setup() is split into three pieces: - xhci_gen_setup() The major remaining of xhci_pci_setup() is now containing the generic part of the xhci setup. It allocates the xhci struct, setup hcs_params? and friends, performs xhci_halt(), xhci_init and so one. It also obtains the quirks via a callback - xhci_pci_quirks() It checks the origin of the xhci core and sets core specific quirks. - xhci_pci_setup() PCI specific setup functions. Besides calling xhci_gen_setup() with xhci_pci_quirks() as an argument it performs PCI specific setup like obtaining the address of sbrn via a PCI config space. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/wd7000.c')
0 files changed, 0 insertions, 0 deletions