Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 13:18:51 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259646 - head/sys/dev/ixgbe
Message-ID:  <201312201318.rBKDIpI9061897@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201318.rBKDIpI9061897>