aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mthca
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2011-03-21 09:58:24 +0000
committerJeff Roberson <jeff@FreeBSD.org>2011-03-21 09:58:24 +0000
commitaa0a1e58f0189b0fde359a8bda032887e72057fa (patch)
tree3051c12f4ce44a65c025b72ec5821b35b2ec46be /sys/modules/mthca
parente4cd31dd3c7adc94a486ca5309c7096f81fa70f1 (diff)
Notes
Diffstat (limited to 'sys/modules/mthca')
-rw-r--r--sys/modules/mthca/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/modules/mthca/Makefile b/sys/modules/mthca/Makefile
new file mode 100644
index 000000000000..de860fe9df96
--- /dev/null
+++ b/sys/modules/mthca/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mthca
+KMOD = mthca
+SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
+SRCS+= mthca_allocator.c mthca_av.c mthca_catas.c mthca_cmd.c mthca_cq.c
+SRCS+= mthca_eq.c mthca_mad.c mthca_main.c mthca_mcg.c mthca_memfree.c
+SRCS+= mthca_mr.c mthca_pd.c mthca_profile.c mthca_provider.c mthca_qp.c
+SRCS+= mthca_reset.c mthca_srq.c mthca_uar.c
+
+CFLAGS+= -I${.CURDIR}/../../ofed/include/ -DINET6
+
+.include <bsd.kmod.mk>
+
+CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions