svn commit: r261169 - head/sys/dev/e1000

Gleb Smirnoff glebius at FreeBSD.org
Sat Jan 25 20:39:24 UTC 2014


Author: glebius
Date: Sat Jan 25 20:39:23 2014
New Revision: 261169
URL: http://svnweb.freebsd.org/changeset/base/261169

Log:
  Fix compilation with IGB_LEGACY_TX defined.
  
  PR:		185909
  Submitted by:	Aurelien Rougemont <beorn binaries.fr>

Modified:
  head/sys/dev/e1000/if_igb.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c	Sat Jan 25 19:58:53 2014	(r261168)
+++ head/sys/dev/e1000/if_igb.c	Sat Jan 25 20:39:23 2014	(r261169)
@@ -2381,7 +2381,9 @@ igb_allocate_legacy(struct adapter *adap
 {
 	device_t		dev = adapter->dev;
 	struct igb_queue	*que = adapter->queues;
+#ifndef IGB_LEGACY_TX
 	struct tx_ring		*txr = adapter->tx_rings;
+#endif
 	int			error, rid = 0;
 
 	/* Turn off all interrupts */


More information about the svn-src-head mailing list