summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2013-07-12 21:14:42 +0000
committerjfv <jfv@FreeBSD.org>2013-07-12 21:14:42 +0000
commit65a1304a975c33b46a9faf4d4dc55b1abd72490e (patch)
tree2b69135dcf3512cff9b22a0a897d661ba84cc91a /sys/dev
parent69ab640b6b8e74cb3de3e8f1ba43e34b75e644c5 (diff)
downloadFreeBSD-src-65a1304a975c33b46a9faf4d4dc55b1abd72490e.zip
FreeBSD-src-65a1304a975c33b46a9faf4d4dc55b1abd72490e.tar.gz
Remove the conditional define around the option headers,
when building the driver as a module the result of the present system results in INET and INET6 being undefined, and will cause the panic in ixgbe_tso_setup(). The Makefile in the module directory now renders the conditional in the source unnecessary and wrong. MFC after: ASAP - the panic as a module must not get into 9.2
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ixgbe/ixgbe.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c
index 21159eb..3a444e2 100644
--- a/sys/dev/ixgbe/ixgbe.c
+++ b/sys/dev/ixgbe/ixgbe.c
@@ -33,11 +33,8 @@
/*$FreeBSD$*/
-#ifdef HAVE_KERNEL_OPTION_HEADERS
#include "opt_inet.h"
#include "opt_inet6.h"
-#endif
-
#include "ixgbe.h"
/*********************************************************************
OpenPOWER on IntegriCloud