svn commit: r259646 - head/sys/dev/ixgbe

Gleb Smirnoff glebius at FreeBSD.org
Fri Dec 20 13:18:51 UTC 2013


Author: glebius
Date: Fri Dec 20 13:18:50 2013
New Revision: 259646
URL: http://svnweb.freebsd.org/changeset/base/259646

Log:
  Fix build broken in r259644.
  
  Submitted by:	tuexen
  Pointy hat to:	glebius

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Fri Dec 20 12:08:36 2013	(r259645)
+++ head/sys/dev/ixgbe/ixgbe.c	Fri Dec 20 13:18:50 2013	(r259646)
@@ -3592,8 +3592,10 @@ ixgbe_atr(struct tx_ring *txr, struct mb
 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;


More information about the svn-src-all mailing list