On Fri, Dec 20, 2013 at 02:12:42PM +0100, Michael Tuexen wrote: M> On Dec 20, 2013, at 11:57 AM, Gleb Smirnoff <[email protected]> wrote: M> M> I think you need something like M> M> [bsd5:~/head] tuexen% svn diff M> Index: sys/dev/ixgbe/ixgbe.c M> =================================================================== M> --- sys/dev/ixgbe/ixgbe.c (revision 259645) M> +++ sys/dev/ixgbe/ixgbe.c (working copy) M> @@ -3592,8 +3592,10 @@ M> static void M> ixgbe_txeof(struct tx_ring *txr) M> { M> +#ifdef DEV_NETMAP M> struct adapter *adapter = txr->adapter; M> struct ifnet *ifp = adapter->ifp; M> +#endif M> u32 work, processed = 0; M> u16 limit = txr->process_limit; M> struct ixgbe_tx_buf *buf; M> M> to get it compiling if DEV_NETMAP is not defined.
Thanks, Michael. And sorry for broken build. -- Totus tuus, Glebius. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
