aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2012-08-06 19:49:57 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2012-08-06 19:49:57 +0000
commitef8881526b55e1decaad564582819ffed20c92fb (patch)
tree6a5ea56705ebca535b58a9252a354daca02a9fd2 /sys
parentdaccbb811d74c2a51facd288f568cb681553faf4 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pci_pci.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c
index 6d058c41ac10a..a378a078560b6 100644
--- a/sys/dev/pci/pci_pci.c
+++ b/sys/dev/pci/pci_pci.c
@@ -683,6 +683,13 @@ pcib_attach_common(device_t dev)
* would be more widely routed than absolutely necessary. We could
* then do a walk of the tree later and fix it.
*/
+
+ /*
+ * Always enable busmastering on bridges so that transactions
+ * initiated on the secondary bus are passed through to the
+ * primary bus.
+ */
+ pci_enable_busmaster(dev);
}
int