From ce4ff6955badd8deb2b21dd17ba7e528aed7d260 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 22 Mar 2010 17:20:28 +0000 Subject: 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). --- sys/dev/pci/if_ix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_ix.c') 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; } -- cgit v1.2.3