aboutsummaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgbe/t4_firmware/Makefile
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2013-03-30 02:26:20 +0000
committerNavdeep Parhar <np@FreeBSD.org>2013-03-30 02:26:20 +0000
commitd14b0ac129abd2f42171cf3a18c25f534ba2a88a (patch)
tree567c56246d7d740aad962c395d12e9b7eb5d7608 /sys/modules/cxgbe/t4_firmware/Makefile
parent5f83aee5e585e899ce347b0eff42e64628f81df7 (diff)
downloadsrc-d14b0ac129abd2f42171cf3a18c25f534ba2a88a.tar.gz
src-d14b0ac129abd2f42171cf3a18c25f534ba2a88a.zip
cxgbe(4): Add support for Chelsio's Terminator 5 (aka T5) ASIC. This
includes support for the NIC and TOE features of the 40G, 10G, and 1G/100M cards based on the T5. The ASIC is mostly backward compatible with the Terminator 4 so cxgbe(4) has been updated instead of writing a brand new driver. T5 cards will show up as cxl (short for cxlgb) ports attached to the t5nex bus driver. Sponsored by: Chelsio
Notes
Notes: svn path=/head/; revision=248925
Diffstat (limited to 'sys/modules/cxgbe/t4_firmware/Makefile')
-rw-r--r--sys/modules/cxgbe/t4_firmware/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/t4_firmware/Makefile b/sys/modules/cxgbe/t4_firmware/Makefile
new file mode 100644
index 000000000000..fea29a5c1661
--- /dev/null
+++ b/sys/modules/cxgbe/t4_firmware/Makefile
@@ -0,0 +1,27 @@
+#
+# $FreeBSD$
+#
+
+T4FW = ${.CURDIR}/../../../dev/cxgbe/firmware
+.PATH: ${T4FW}
+
+KMOD = t4fw_cfg
+FIRMWS = ${KMOD}.txt:${KMOD}:1.0.0.0
+
+# You can have additional configuration files in the ${T4FW} directory.
+# t4fw_cfg_<name>.txt
+CFG_FILES != cd ${T4FW} && echo ${KMOD}_*.txt
+.for F in ${CFG_FILES}
+.if exists(${F})
+FIRMWS += ${F}:${F:C/.txt//}:1.0.0.0
+.endif
+.endfor
+
+T4FW_VER = 1.8.4.0
+FIRMWS += t4fw.fw:t4fw:${T4FW_VER}
+CLEANFILES += t4fw.fw
+
+t4fw.fw: t4fw-${T4FW_VER}.bin.uu
+ uudecode -o ${.TARGET} ${.ALLSRC}
+
+.include <bsd.kmod.mk>