don't bind to PCI express links [8/9]
RFC PATCH 1/1 don't bind to PCI express links [8/9]
This patch prevents the PCI<->PCI bridge driver from binding to PCI express devices. This is needed to coexist with the PCI express root port driver. Eventually we may want to rework and better integrate linux PCI express link support, but for now this should work.
Signed-off-by Adam Belay <[email protected]>
drivers/pci/bus/pci-bridge.c +4 -0
@@ -132,6 +132,10 @@if (dev->subordinate)return -ENODEV ; +/* don't bind to pci express links */ +if (pci_find_capability (dev,PCI_CAP_ID_EXP )) +return -ENODEV ; + bus =ppb_detect_bus (dev);if (!bus)return -ENODEV ;