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

Gleb Smirnoff glebius at FreeBSD.org
Fri Dec 20 13:17:02 UTC 2013


On Fri, Dec 20, 2013 at 02:12:42PM +0100, Michael Tuexen wrote:
M> On Dec 20, 2013, at 11:57 AM, Gleb Smirnoff <glebius at FreeBSD.org> 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.


More information about the svn-src-head mailing list