[Midnightbsd-cvs] src [7955] trunk/sys/dev/pci/pci_pci.c: always enable bus mastering on bridges so that transactions on teh secondary are passed to the primary
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Sep 14 18:45:05 EDT 2016
Revision: 7955
http://svnweb.midnightbsd.org/src/?rev=7955
Author: laffer1
Date: 2016-09-14 18:45:05 -0400 (Wed, 14 Sep 2016)
Log Message:
-----------
always enable bus mastering on bridges so that transactions on teh secondary are passed to the primary
Modified Paths:
--------------
trunk/sys/dev/pci/pci_pci.c
Modified: trunk/sys/dev/pci/pci_pci.c
===================================================================
--- trunk/sys/dev/pci/pci_pci.c 2016-09-14 22:35:01 UTC (rev 7954)
+++ trunk/sys/dev/pci/pci_pci.c 2016-09-14 22:45:05 UTC (rev 7955)
@@ -683,6 +683,13 @@
* 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
More information about the Midnightbsd-cvs
mailing list