summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2014-08-04 04:23:45 +0000
committeradrian <adrian@FreeBSD.org>2014-08-04 04:23:45 +0000
commitf32f2c464b768d864a29e4befbd0252787201a62 (patch)
treedb91cca98a48be290928f45f3371dc8ca5c49923
parent115d1ffe600be19f0fc7c31a3f888b6d77c987b0 (diff)
downloadFreeBSD-src-f32f2c464b768d864a29e4befbd0252787201a62.zip
FreeBSD-src-f32f2c464b768d864a29e4befbd0252787201a62.tar.gz
Make igb(4) build outside of the kernel build.
Ths defaults to RSS being disabled.
-rw-r--r--sys/modules/igb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/igb/Makefile b/sys/modules/igb/Makefile
index 5da3cf5..0aa044d 100644
--- a/sys/modules/igb/Makefile
+++ b/sys/modules/igb/Makefile
@@ -4,7 +4,7 @@
.PATH: ${.CURDIR}/../../dev/e1000
KMOD = if_igb
-SRCS = device_if.h bus_if.h pci_if.h opt_inet.h opt_inet6.h
+SRCS = device_if.h bus_if.h pci_if.h opt_inet.h opt_inet6.h opt_rss.h
SRCS += if_igb.c $(SHARED_SRCS)
SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c
SHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c
@@ -33,6 +33,10 @@ opt_inet.h:
opt_inet6.h:
@echo "#define INET6 1" > ${.TARGET}
.endif
+
+opt_rss.h:
+ @echo "" > ${.TARGET}
+
.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud