summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-03-22 17:20:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-03-22 17:20:28 +0000
commitce4ff6955badd8deb2b21dd17ba7e528aed7d260 (patch)
tree8c2788409a38d205306b146d0cb66f5bc3c7748d /sys/dev
parentef0de377f6363da69b32f1bcffe3b7a06c12b4bd (diff)
There is a workaround for a 82599 specific errata that could hang the rx dma
unit, it just wasn't called. Problem is present in the FreeBSD driver (but not the Linux one).
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_ix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 388ab41cf87..3fb1c3e5009 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.40 2010/03/22 17:09:27 jsg Exp $ */
+/* $OpenBSD: if_ix.c,v 1.41 2010/03/22 17:20:27 jsg Exp $ */
/******************************************************************************
@@ -2594,7 +2594,7 @@ ixgbe_initialize_receive_units(struct ix_softc *sc)
if (sc->hw.mac.type == ixgbe_mac_82598EB)
rxctrl |= IXGBE_RXCTRL_DMBYPS;
rxctrl |= IXGBE_RXCTRL_RXEN;
- IXGBE_WRITE_REG(&sc->hw, IXGBE_RXCTRL, rxctrl);
+ sc->hw.mac.ops.enable_rx_dma(&sc->hw, rxctrl);
return;
}