From: François Tigeot Date: Sat, 1 Sep 2012 17:25:04 +0000 (+0200) Subject: ixgbe: Explicitely enable PCIe bus mastering X-Git-Tag: v3.2.0~208 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/364f4eb0d2739b20d0349e510eb38a94a9e68cf9 ixgbe: Explicitely enable PCIe bus mastering --- diff --git a/sys/dev/netif/ixgbe/ixgbe.c b/sys/dev/netif/ixgbe/ixgbe.c index 96da6d0590..56d2112150 100644 --- a/sys/dev/netif/ixgbe/ixgbe.c +++ b/sys/dev/netif/ixgbe/ixgbe.c @@ -459,6 +459,9 @@ ixgbe_attach(device_t dev) /* Determine hardware revision */ ixgbe_identify_hardware(adapter); + /* Enable bus mastering */ + pci_enable_busmaster(dev); + /* Do base PCI setup - map BAR0 */ if (ixgbe_allocate_pci_resources(adapter)) { device_printf(dev, "Allocation of PCI resources failed\n");