summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-05-05 20:21:20 +0000
committerkmacy <kmacy@FreeBSD.org>2008-05-05 20:21:20 +0000
commit667ab9410a7af298d108e57f37cec528af175601 (patch)
tree8ec26dfd43c122645da7ddc38bcb216a6512e692
parent2afae681de710da6df7ed491ae59def5bd5e1506 (diff)
downloadFreeBSD-src-667ab9410a7af298d108e57f37cec528af175601.zip
FreeBSD-src-667ab9410a7af298d108e57f37cec528af175601.tar.gz
add iw_cxgb to the build
-rw-r--r--sys/modules/cxgb/Makefile2
-rw-r--r--sys/modules/cxgb/iw_cxgb/Makefile14
2 files changed, 15 insertions, 1 deletions
diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile
index 1b49e70..9ed1f24 100644
--- a/sys/modules/cxgb/Makefile
+++ b/sys/modules/cxgb/Makefile
@@ -2,7 +2,7 @@
SUBDIR= cxgb
SUBDIR+= toecore
SUBDIR+= tom
-#SUBDIR+= iw_cxgb
+SUBDIR+= iw_cxgb
SUBDIR+= cxgb_t3fw
.include <bsd.subdir.mk>
diff --git a/sys/modules/cxgb/iw_cxgb/Makefile b/sys/modules/cxgb/iw_cxgb/Makefile
new file mode 100644
index 0000000..e1123bb
--- /dev/null
+++ b/sys/modules/cxgb/iw_cxgb/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+CXGB = ${.CURDIR}/../../../dev/cxgb
+.PATH: ${IW_CXGB} ${CXGB}/common ${CXGB}/ulp/iw_cxgb
+
+KMOD= iw_cxgb
+SRCS= iw_cxgb.c iw_cxgb_cm.c iw_cxgb_hal.c
+SRCS+= iw_cxgb_provider.c iw_cxgb_qp.c iw_cxgb_resource.c
+SRCS+= iw_cxgb_ev.c iw_cxgb_mem.c iw_cxgb_dbg.c iw_cxgb_cq.c
+SRCS+= bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h
+CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -I${CXGB} -DSMP
+#CFLAGS+= -DDEBUG
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud