summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2016-05-06 15:41:38 +0000
committersbruno <sbruno@FreeBSD.org>2016-05-06 15:41:38 +0000
commit21d823059f5fb0f7e7c4638a13112f9e40f8df2b (patch)
treed84f7c83f391f948b868a2a0a00643a273020f23
parent6d50fbd9f2d19d1313fa2e30b41982783d3b4894 (diff)
downloadFreeBSD-src-21d823059f5fb0f7e7c4638a13112f9e40f8df2b.zip
FreeBSD-src-21d823059f5fb0f7e7c4638a13112f9e40f8df2b.tar.gz
If ALTQ is defined in the kern conf, switch to Legacy Mode.
PR: 208409 Submitted by: freebsd@mcwest.org MFC after: 2 weeks
-rw-r--r--sys/dev/e1000/if_igb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_igb.h b/sys/dev/e1000/if_igb.h
index a0c35be..a30fc99 100644
--- a/sys/dev/e1000/if_igb.h
+++ b/sys/dev/e1000/if_igb.h
@@ -35,6 +35,10 @@
#ifndef _IF_IGB_H_
#define _IF_IGB_H_
+#ifdef ALTQ
+#define IGB_LEGACY_TX
+#endif
+
#include <sys/param.h>
#include <sys/systm.h>
#ifndef IGB_LEGACY_TX
OpenPOWER on IntegriCloud