The Linux Device Driver Model allows a physical device to be handled by only a single driver. But at present, both shpchp and portdrv_pci claim PCI_CLASS_BRIDGE_PCI. This cause problems, such as the wrong shutdown seq. This series keeps shpchp driver away from pcie port device. V1 -> V2: implement the checking in the process of matching, instead of probing, which is too late. Pingfan Liu (2): pci: introduce an extra method for matching in pci_driver pci/shpchp: no claim on pcie port device drivers/pci/hotplug/shpchp_core.c | 13 +++++++++++++ drivers/pci/pci-driver.c | 4 ++++ include/linux/pci.h | 2 ++ 3 files changed, 19 insertions(+) -- 2.7.4