diff options
author | np <np@FreeBSD.org> | 2015-04-08 04:40:04 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2015-04-08 04:40:04 +0000 |
commit | 01588ba9106ed2a735c340f7c484072bdb0458fb (patch) | |
tree | 3b705b49546f39d1d3e47724b0f187b1fda1aef9 /sys/modules | |
parent | 93e2a4b09238c39b525e9b765711eee58abafb27 (diff) | |
download | FreeBSD-src-01588ba9106ed2a735c340f7c484072bdb0458fb.zip FreeBSD-src-01588ba9106ed2a735c340f7c484072bdb0458fb.tar.gz |
MFC r278303:
cxgbe(4): Add a minimal if_cxl module that pulls in the real driver as
a dependency. This ensures "ifconfig cxl<n> ..." does the right thing
even when it's run with no driver loaded.
if_cxl.ko is the tiniest module in /boot/kernel.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/cxgbe/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/cxgbe/if_cxl/Makefile | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile index 756cb4c..5c9ac56 100644 --- a/sys/modules/cxgbe/Makefile +++ b/sys/modules/cxgbe/Makefile @@ -3,6 +3,7 @@ # SUBDIR= if_cxgbe +SUBDIR+= if_cxl SUBDIR+= t4_firmware SUBDIR+= t5_firmware SUBDIR+= ${_tom} diff --git a/sys/modules/cxgbe/if_cxl/Makefile b/sys/modules/cxgbe/if_cxl/Makefile new file mode 100644 index 0000000..ec4ff1e --- /dev/null +++ b/sys/modules/cxgbe/if_cxl/Makefile @@ -0,0 +1,11 @@ +# +# $FreeBSD$ +# + +CXGBE= ${.CURDIR}/../../../dev/cxgbe +.PATH: ${CXGBE} + +KMOD= if_cxl +SRCS= if_cxl.c + +.include <bsd.kmod.mk> |