diff options
Diffstat (limited to 'sys/modules/cxgbe')
| -rw-r--r-- | sys/modules/cxgbe/Makefile | 6 | ||||
| -rw-r--r-- | sys/modules/cxgbe/if_cxgbe/Makefile | 2 | ||||
| -rw-r--r-- | sys/modules/cxgbe/nvmf_che/Makefile | 16 | ||||
| -rw-r--r-- | sys/modules/cxgbe/t7_firmware/Makefile | 23 |
4 files changed, 44 insertions, 3 deletions
diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile index f94d3ae07f66..a76017f58f8d 100644 --- a/sys/modules/cxgbe/Makefile +++ b/sys/modules/cxgbe/Makefile @@ -1,6 +1,3 @@ -# -# - SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" @@ -13,14 +10,17 @@ SUBDIR+= if_ccv SUBDIR+= t4_firmware SUBDIR+= t5_firmware SUBDIR+= t6_firmware +SUBDIR+= t7_firmware SUBDIR+= ${_tom} SUBDIR+= ${_iw_cxgbe} SUBDIR+= ${_cxgbei} SUBDIR+= ccr +SUBDIR+= ${_nvmf_che} .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "aarch64" _tom= tom _cxgbei= cxgbei +_nvmf_che= nvmf_che .if ${MK_OFED} != "no" || defined(ALL_MODULES) _iw_cxgbe= iw_cxgbe .endif diff --git a/sys/modules/cxgbe/if_cxgbe/Makefile b/sys/modules/cxgbe/if_cxgbe/Makefile index 981c3466c452..33383c84837f 100644 --- a/sys/modules/cxgbe/if_cxgbe/Makefile +++ b/sys/modules/cxgbe/if_cxgbe/Makefile @@ -23,6 +23,7 @@ SRCS+= t4_hw.c SRCS+= t4_if.c t4_if.h SRCS+= t4_iov.c SRCS.KERN_TLS+= t6_kern_tls.c +SRCS.KERN_TLS+= t7_kern_tls.c SRCS+= t4_keyctx.c SRCS+= t4_l2t.c SRCS+= t4_main.c @@ -31,6 +32,7 @@ SRCS+= t4_netmap.c SRCS+= t4_sched.c SRCS+= t4_sge.c SRCS+= t4_smt.c +SRCS+= t4_tpt.c SRCS+= t4_tracer.c SRCS+= cudbg_common.c SRCS+= cudbg_flash_utils.c diff --git a/sys/modules/cxgbe/nvmf_che/Makefile b/sys/modules/cxgbe/nvmf_che/Makefile new file mode 100644 index 000000000000..143904d61c71 --- /dev/null +++ b/sys/modules/cxgbe/nvmf_che/Makefile @@ -0,0 +1,16 @@ + +CXGBE = ${SRCTOP}/sys/dev/cxgbe +.PATH: ${CXGBE}/nvmf + +KMOD= nvmf_che + +SRCS= \ + nvmf_che.c \ + opt_inet.h \ + bus_if.h \ + device_if.h \ + pci_if.h \ + +CFLAGS+= -I${CXGBE} + +.include <bsd.kmod.mk> diff --git a/sys/modules/cxgbe/t7_firmware/Makefile b/sys/modules/cxgbe/t7_firmware/Makefile new file mode 100644 index 000000000000..afce06487f22 --- /dev/null +++ b/sys/modules/cxgbe/t7_firmware/Makefile @@ -0,0 +1,23 @@ +# +# $FreeBSD$ +# + +T7FW= ${SRCTOP}/sys/dev/cxgbe/firmware +.PATH: ${T7FW} + +KMOD= t7fw_cfg +FIRMWS= ${KMOD}.txt:${KMOD}:1.0.0.0 + +# You can have additional configuration files in the ${T7FW} directory. +# t7fw_cfg_<name>.txt +CFG_FILES != cd ${T7FW} && echo ${KMOD}_*.txt +.for F in ${CFG_FILES} +.if exists(${F}) +FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0 +.endif +.endfor + +#T7FW_VER= 1.27.0.71 +#FIRMWS+= t7fw-${T7FW_VER}.bin:t7fw:${T7FW_VER} + +.include <bsd.kmod.mk> |
