]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit3749c51ac6c1560aa1cb1520066bed84c6f8152a
tree3cbfb6a6d2df821e3e80ccce29ede8011b94246e
parent536c8cb49eccd4f753b4782e7e975ef87359cb44
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