From 47fca5e996bb8f10a821bd419b8befb9f77a4855 Mon Sep 17 00:00:00 2001 From: glebius Date: Fri, 20 Dec 2013 13:18:50 +0000 Subject: [PATCH] Fix build broken in r259644. Submitted by: tuexen Pointy hat to: glebius --- sys/dev/ixgbe/ixgbe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index 136291f83239..740f7709e5b2 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -3592,8 +3592,10 @@ ixgbe_atr(struct tx_ring *txr, struct mbuf *mp) static void ixgbe_txeof(struct tx_ring *txr) { +#ifdef DEV_NETMAP struct adapter *adapter = txr->adapter; struct ifnet *ifp = adapter->ifp; +#endif u32 work, processed = 0; u16 limit = txr->process_limit; struct ixgbe_tx_buf *buf;