aboutsummaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgbe
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2013-07-03 23:52:15 +0000
committerNavdeep Parhar <np@FreeBSD.org>2013-07-03 23:52:15 +0000
commitf72b68a1bf105d8fafac07eb2d91eacddf64b4a9 (patch)
tree597a994c29e206e7d1812c5981896e494d43a641 /sys/modules/cxgbe
parent8383a92e5b5eab4f15cca4783af8b60c81e02f93 (diff)
downloadsrc-f72b68a1bf105d8fafac07eb2d91eacddf64b4a9.tar.gz
src-f72b68a1bf105d8fafac07eb2d91eacddf64b4a9.zip
- Include the T5 firmware with the driver.
- Update the T4 firmware to the latest. - Minor reorganization and updates to the version macros, etc. Obtained from: Chelsio MFC after: 1 day
Notes
Notes: svn path=/head/; revision=252661
Diffstat (limited to 'sys/modules/cxgbe')
-rw-r--r--sys/modules/cxgbe/Makefile2
-rw-r--r--sys/modules/cxgbe/t4_firmware/Makefile2
-rw-r--r--sys/modules/cxgbe/t5_firmware/Makefile27
3 files changed, 29 insertions, 2 deletions
diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile
index 2f848b677a22..fb7548584ad1 100644
--- a/sys/modules/cxgbe/Makefile
+++ b/sys/modules/cxgbe/Makefile
@@ -4,7 +4,7 @@
SUBDIR = if_cxgbe
SUBDIR+= t4_firmware
-#SUBDIR+= t5_firmware
+SUBDIR+= t5_firmware
SUBDIR+= ${_tom}
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
diff --git a/sys/modules/cxgbe/t4_firmware/Makefile b/sys/modules/cxgbe/t4_firmware/Makefile
index fea29a5c1661..d5b86d1b04ff 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.8.4.0
+T4FW_VER = 1.8.11.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
new file mode 100644
index 000000000000..6637b222f72d
--- /dev/null
+++ b/sys/modules/cxgbe/t5_firmware/Makefile
@@ -0,0 +1,27 @@
+#
+# $FreeBSD$
+#
+
+T5FW = ${.CURDIR}/../../../dev/cxgbe/firmware
+.PATH: ${T5FW}
+
+KMOD = t5fw_cfg
+FIRMWS = ${KMOD}.txt:${KMOD}:1.0.0.0
+
+# You can have additional configuration files in the ${T5FW} directory.
+# t5fw_cfg_<name>.txt
+CFG_FILES != cd ${T5FW} && echo ${KMOD}_*.txt
+.for F in ${CFG_FILES}
+.if exists(${F})
+FIRMWS += ${F}:${F:C/.txt//}:1.0.0.0
+.endif
+.endfor
+
+T5FW_VER = 1.8.22.0
+FIRMWS += t5fw.fw:t5fw:${T5FW_VER}
+CLEANFILES += t5fw.fw
+
+t5fw.fw: t5fw-${T5FW_VER}.bin.uu
+ uudecode -o ${.TARGET} ${.ALLSRC}
+
+.include <bsd.kmod.mk>