Date: Sat, 25 Jan 2014 20:39:24 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261169 - head/sys/dev/e1000 Message-ID: <201401252039.s0PKdOAn088134@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401252039.s0PKdOAn088134>