summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2016-07-22 03:16:37 +0000
committersbruno <sbruno@FreeBSD.org>2016-07-22 03:16:37 +0000
commitd6d8480d0aad9a5badb4491b576d2343992ec9f8 (patch)
tree2d03a190a5d1b7e65f1df1a2520bd2018b394c10
parentd26ee5186f346d81c40513713215d140ffa3a30f (diff)
downloadFreeBSD-src-d6d8480d0aad9a5badb4491b576d2343992ec9f8.zip
FreeBSD-src-d6d8480d0aad9a5badb4491b576d2343992ec9f8.tar.gz
MFC r299182
If ALTQ is defined in the kern conf, switch to Legacy Mode. PR: 208409
-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