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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to