]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Make current and maximum bus speeds part of the PCI core
authorMatthew Wilcox <matthew@wil.cx>
Sun, 13 Dec 2009 13:11:32 +0000 (08:11 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:15:17 +0000 (16:15 -0800)
commit4531417a7088023e6c9bddf00ce5f38635a42554
tree3cbfb6a6d2df821e3e80ccce29ede8011b94246e
parent6c807a054f1ee2eb1fa5c7bcbb1a33844231fe63
PCI: Make current and maximum bus speeds part of the PCI core

Move the max_bus_speed and cur_bus_speed into the pci_bus.  Expose the
values through the PCI slot driver instead of the hotplug slot driver.
Update all the hotplug drivers to use the pci_bus instead of their own
data structures.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
17 files changed:
drivers/pci/hotplug/acpiphp_core.c
drivers/pci/hotplug/cpqphp.h
drivers/pci/hotplug/cpqphp_core.c
drivers/pci/hotplug/cpqphp_ctrl.c
drivers/pci/hotplug/ibmphp_core.c
drivers/pci/hotplug/pci_hotplug_core.c
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_hpc.c
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_ctrl.c
drivers/pci/hotplug/shpchp_hpc.c
drivers/pci/probe.c
drivers/pci/slot.c
include/linux/pci.h
include/linux/pci_hotplug.h