summaryrefslogtreecommitdiffstats
path: root/sys/modules/fxp
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-07-19 15:58:40 +0000
committerjlemon <jlemon@FreeBSD.org>2001-07-19 15:58:40 +0000
commit6b3a30c3ec68282083f924e4d16a9f5e6bc96659 (patch)
tree121611f17fa9d20e01e97b32b2dcdb10c2268f09 /sys/modules/fxp
parent8474e78ca6a6a40ff6672a449df95e846af004c4 (diff)
downloadFreeBSD-src-6b3a30c3ec68282083f924e4d16a9f5e6bc96659.zip
FreeBSD-src-6b3a30c3ec68282083f924e4d16a9f5e6bc96659.tar.gz
Unconditinally turn on VLAN support when building fxp as a module, since
it may be plugged into a kernel that supports VLANs. If the kernel is not VLAN aware, things will still work as before. Modules don't really have option support, so this is somewhat of a hack.
Diffstat (limited to 'sys/modules/fxp')
-rw-r--r--sys/modules/fxp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/fxp/Makefile b/sys/modules/fxp/Makefile
index 334c564..ff76508 100644
--- a/sys/modules/fxp/Makefile
+++ b/sys/modules/fxp/Makefile
@@ -7,6 +7,6 @@ SRCS= if_fxp.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h miibus_if.h
CLEANFILES= vlan.h
vlan.h:
- touch vlan.h
+ echo '#define NVLAN 1' > vlan.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud