summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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