diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-03-14 02:47:38 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-03-14 02:47:38 +0000 |
commit | d63f34640c74a02f1ea617dcad12f8d88e01a39f (patch) | |
tree | fbaf0b86163f7b36cf6b310e9272daa165207f6a | |
parent | 110c717ac83530057a6bf388ea42262073e298c0 (diff) | |
download | FreeBSD-src-d63f34640c74a02f1ea617dcad12f8d88e01a39f.zip FreeBSD-src-d63f34640c74a02f1ea617dcad12f8d88e01a39f.tar.gz |
Add modules Makefile for cxgb
-rw-r--r-- | sys/modules/cxgb/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile new file mode 100644 index 0000000..c344afc --- /dev/null +++ b/sys/modules/cxgb/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +CXGB = ${.CURDIR}/../../dev/cxgb +.PATH: ${CXGB} ${CXGB}/common + +KMOD= if_cxgb +SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c +SRCS+= cxgb_xgmac.c cxgb_t3_hw.c cxgb_main.c cxgb_sge.c cxgb_lro.c +SRCS+= device_if.h bus_if.h pci_if.h + +t3fw-3.2.bin: ${CXGB}/t3fw-3.2.bin.gz.uu + uudecode -p < ${CXGB}/t3fw-3.2.bin.gz.uu \ + | gzip -dc > ${.TARGET} + +FIRMWS= t3fw-3.2.bin:t3fw32 +CLEANFILES+= t3fw-3.2.bin + +CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO +CFLAGS+= -DCHELSIO_FW_MAJOR=3 -DCHELSIO_FW_MINOR=2 + + +.include <bsd.kmod.mk> |