* [RFC][PATCH] don't bind to PCI express links [8/9]
@ 2005-07-14 8:55 Adam Belay
0 siblings, 0 replies; only message in thread
From: Adam Belay @ 2005-07-14 8:55 UTC (permalink / raw)
To: linux-kernel; +Cc: greg
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 <abelay@novell.com>
--- a/drivers/pci/bus/pci-bridge.c 2005-07-14 02:30:09.000000000 -0400
+++ b/drivers/pci/bus/pci-bridge.c 2005-07-14 02:46:12.000000000 -0400
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-14 9:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 8:55 [RFC][PATCH] don't bind to PCI express links [8/9] Adam Belay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox