svn commit: r263025 - stable/10/sys/dev/e1000
Gleb Smirnoff
glebius at FreeBSD.org
Tue Mar 11 15:17:05 UTC 2014
Author: glebius
Date: Tue Mar 11 15:17:04 2014
New Revision: 263025
URL: http://svnweb.freebsd.org/changeset/base/263025
Log:
Merge r261169: Fix compilation with IGB_LEGACY_TX defined.
PR: 185909
Modified:
stable/10/sys/dev/e1000/if_igb.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/e1000/if_igb.c
==============================================================================
--- stable/10/sys/dev/e1000/if_igb.c Tue Mar 11 14:59:34 2014 (r263024)
+++ stable/10/sys/dev/e1000/if_igb.c Tue Mar 11 15:17:04 2014 (r263025)
@@ -2380,7 +2380,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-all
mailing list