aboutsummaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgbe
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2016-11-30 00:26:35 +0000
committerNavdeep Parhar <np@FreeBSD.org>2016-11-30 00:26:35 +0000
commita10443e8bae0f21e5b04cf9f3f25825f12e659cf (patch)
tree9a5433bd432d56320086491c6d41497277353736 /sys/modules/cxgbe
parentd5d08d297de750c723d95d107ee9100e54371bf6 (diff)
downloadsrc-a10443e8bae0f21e5b04cf9f3f25825f12e659cf.tar.gz
src-a10443e8bae0f21e5b04cf9f3f25825f12e659cf.zip
cxgbe(4): Include firmware for T6 cards in the driver. Update all
firmwares to 1.16.12.0. Obtained from: Chelsio Communications MFC after: 3 days Sponsored by: Chelsio Communications
Notes
Notes: svn path=/head/; revision=309302
Diffstat (limited to 'sys/modules/cxgbe')
-rw-r--r--sys/modules/cxgbe/Makefile1
-rw-r--r--sys/modules/cxgbe/t4_firmware/Makefile2
-rw-r--r--sys/modules/cxgbe/t5_firmware/Makefile2
-rw-r--r--sys/modules/cxgbe/t6_firmware/Makefile27
4 files changed, 30 insertions, 2 deletions
diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile
index a186bdf507d9..c36ef2a66ac1 100644
--- a/sys/modules/cxgbe/Makefile
+++ b/sys/modules/cxgbe/Makefile
@@ -13,6 +13,7 @@ SUBDIR+= if_cxlv
SUBDIR+= if_ccv
SUBDIR+= t4_firmware
SUBDIR+= t5_firmware
+SUBDIR+= t6_firmware
SUBDIR+= ${_tom}
SUBDIR+= ${_iw_cxgbe}
SUBDIR+= ${_cxgbei}
diff --git a/sys/modules/cxgbe/t4_firmware/Makefile b/sys/modules/cxgbe/t4_firmware/Makefile
index 8b5bb475b2cb..cd1af2dc4450 100644
--- a/sys/modules/cxgbe/t4_firmware/Makefile
+++ b/sys/modules/cxgbe/t4_firmware/Makefile
@@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif
.endfor
-T4FW_VER= 1.15.37.0
+T4FW_VER= 1.16.12.0
FIRMWS+= t4fw.fw:t4fw:${T4FW_VER}
CLEANFILES+= t4fw.fw
diff --git a/sys/modules/cxgbe/t5_firmware/Makefile b/sys/modules/cxgbe/t5_firmware/Makefile
index 4b1debbb4a78..1da0474d0af3 100644
--- a/sys/modules/cxgbe/t5_firmware/Makefile
+++ b/sys/modules/cxgbe/t5_firmware/Makefile
@@ -17,7 +17,7 @@ FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
.endif
.endfor
-T5FW_VER= 1.15.37.0
+T5FW_VER= 1.16.12.0
FIRMWS+= t5fw.fw:t5fw:${T5FW_VER}
CLEANFILES+= t5fw.fw
diff --git a/sys/modules/cxgbe/t6_firmware/Makefile b/sys/modules/cxgbe/t6_firmware/Makefile
new file mode 100644
index 000000000000..33d03fbbd161
--- /dev/null
+++ b/sys/modules/cxgbe/t6_firmware/Makefile
@@ -0,0 +1,27 @@
+#
+# $FreeBSD$
+#
+
+T6FW= ${.CURDIR}/../../../dev/cxgbe/firmware
+.PATH: ${T6FW}
+
+KMOD= t6fw_cfg
+FIRMWS= ${KMOD}.txt:${KMOD}:1.0.0.0
+
+# You can have additional configuration files in the ${T6FW} directory.
+# t6fw_cfg_<name>.txt
+CFG_FILES != cd ${T6FW} && echo ${KMOD}_*.txt
+.for F in ${CFG_FILES}
+.if exists(${F})
+FIRMWS+= ${F}:${F:C/.txt//}:1.0.0.0
+.endif
+.endfor
+
+T6FW_VER= 1.16.12.0
+FIRMWS+= t6fw.fw:t6fw:${T6FW_VER}
+CLEANFILES+= t6fw.fw
+
+t6fw.fw: t6fw-${T6FW_VER}.bin.uu
+ uudecode -o ${.TARGET} ${.ALLSRC}
+
+.include <bsd.kmod.mk>