diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2011-12-16 02:09:51 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2011-12-16 02:09:51 +0000 |
commit | 733b92779e406798c19bf5122279f5c3ecbbd64d (patch) | |
tree | 3f54f68c887ea6a17b5427746efe66dfa931b56d /sys/modules/cxgbe | |
parent | 22ea9f58f0c0b19ed8fdf8042f08aa3a243408e0 (diff) | |
download | src-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')
-rw-r--r-- | sys/modules/cxgbe/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/cxgbe/firmware/Makefile | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile index 2e834461fd1c..1d69f761422e 100644 --- a/sys/modules/cxgbe/Makefile +++ b/sys/modules/cxgbe/Makefile @@ -3,5 +3,6 @@ # SUBDIR = if_cxgbe +SUBDIR+= firmware .include <bsd.subdir.mk> 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> |