]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Unify pcie_link_speed and pci_bus_speed
authorMatthew Wilcox <matthew@wil.cx>
Sun, 13 Dec 2009 13:11:31 +0000 (08:11 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:15:17 +0000 (16:15 -0800)
commit6c807a054f1ee2eb1fa5c7bcbb1a33844231fe63
tree1cc2a32b17e4eb1fc4c9b64dc4895892a2fd3d41
parent764bd82ef0b7aaedb83510626863749f238c43ae
PCI: Unify pcie_link_speed and pci_bus_speed

These enums must not overlap anyway, since we only have a single
pci_bus_speed_strings array.  Use a single enum, and move it to
pci.h.  Add 'SPEED' to the pcie names to make it clear what they are.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_hpc.c
include/linux/pci.h
include/linux/pci_hotplug.h