svn commit: r248908 - head/sys/dev/e1000
Jack F Vogel
jfv at FreeBSD.org
Fri Mar 29 18:46:14 UTC 2013
Author: jfv
Date: Fri Mar 29 18:46:13 2013
New Revision: 248908
URL: http://svnweb.freebsd.org/changeset/base/248908
Log:
Change the define in the header to eliminate unnecessary data
when using LEGACY TX.
Modified:
head/sys/dev/e1000/if_igb.h
Modified: head/sys/dev/e1000/if_igb.h
==============================================================================
--- head/sys/dev/e1000/if_igb.h Fri Mar 29 18:43:10 2013 (r248907)
+++ head/sys/dev/e1000/if_igb.h Fri Mar 29 18:46:13 2013 (r248908)
@@ -297,7 +297,7 @@ struct tx_ring {
u32 next_to_clean;
volatile u16 tx_avail;
struct igb_tx_buffer *tx_buffers;
-#if __FreeBSD_version >= 800000
+#ifndef IGB_LEGACY_TX
struct buf_ring *br;
struct task txq_task;
#endif
More information about the svn-src-head
mailing list