aboutsummaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgbe/firmware
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2011-12-16 02:09:51 +0000
committerNavdeep Parhar <np@FreeBSD.org>2011-12-16 02:09:51 +0000
commit733b92779e406798c19bf5122279f5c3ecbbd64d (patch)
tree3f54f68c887ea6a17b5427746efe66dfa931b56d /sys/modules/cxgbe/firmware
parent22ea9f58f0c0b19ed8fdf8042f08aa3a243408e0 (diff)
downloadsrc-733b92779e406798c19bf5122279f5c3ecbbd64d.tar.gz
src-733b92779e406798c19bf5122279f5c3ecbbd64d.zip
Many updates to cxgbe(4)
- Device configuration via plain text config file. Also able to operate when not attached to the chip as the master driver. - Generic "work request" queue that serves as the base for both ctrl and ofld tx queues. - Generic interrupt handler routine that can process any event on any kind of ingress queue (via a dispatch table). - A couple of new driver ioctls. cxgbetool can now install a firmware to the card ("loadfw" command) and can read the card's memory ("memdump" and "tcb" commands). - Lots of assorted information within dev.t4nex.X.misc.* This is primarily for debugging and won't show up in sysctl -a. - Code to manage the L2 tables on the chip. - Updates to cxgbe(4) man page to go with the tunables that have changed. - Updates to the shared code in common/ - Updates to the driver-firmware interface (now at fw 1.4.16.0) MFC after: 1 month
Notes
Notes: svn path=/head/; revision=228561
Diffstat (limited to 'sys/modules/cxgbe/firmware')
-rw-r--r--sys/modules/cxgbe/firmware/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/firmware/Makefile b/sys/modules/cxgbe/firmware/Makefile
new file mode 100644
index 000000000000..035de02c0376
--- /dev/null
+++ b/sys/modules/cxgbe/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
+
+# The firmware binary is optional.
+# t4fw-<a>.<b>.<c>.<d>.bin
+FW_BIN != cd ${T4FW} && echo t4fw-*.bin
+.if exists(${FW_BIN})
+FIRMWS += ${FW_BIN}:t4fw:${FW_BIN:C/t4fw-//:C/.bin//}
+.endif
+
+.include <bsd.kmod.mk>