summaryrefslogtreecommitdiffstats
path: root/sys/modules/mlx4ib
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-10-29 08:28:39 +0000
committerhselasky <hselasky@FreeBSD.org>2015-10-29 08:28:39 +0000
commit97b71ce545702c6c9c80c6d958ebd7d30f656be2 (patch)
treef9937a81e1e19355726bac644f9598a290f8a9cb /sys/modules/mlx4ib
parent41bbd8a7cb0ba3a86302687715c12c9cf1a4b91f (diff)
downloadFreeBSD-src-97b71ce545702c6c9c80c6d958ebd7d30f656be2.zip
FreeBSD-src-97b71ce545702c6c9c80c6d958ebd7d30f656be2.tar.gz
Finish process of moving the LinuxKPI module into the default kernel build.
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some Makefiles to use new file locations. - Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn adds the LinuxKPI to all LINT builds. - The LinuxKPI can be added to the kernel by setting the COMPAT_LINUXKPI option. The OFED kernel option no longer builds the LinuxKPI into the kernel. This was done to keep the build rules for the LinuxKPI in sys/conf/files simple. - Extend the LinuxKPI module to include support for USB by moving the Linux USB compat from usb.ko to linuxkpi.ko. - Bump the FreeBSD_version. - A universe kernel build has been done. Reviewed by: np @ (cxgb and cxgbe related changes only) Sponsored by: Mellanox Technologies
Diffstat (limited to 'sys/modules/mlx4ib')
-rw-r--r--sys/modules/mlx4ib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/mlx4ib/Makefile b/sys/modules/mlx4ib/Makefile
index 7bfcb4a..4885bf7 100644
--- a/sys/modules/mlx4ib/Makefile
+++ b/sys/modules/mlx4ib/Makefile
@@ -1,6 +1,5 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4
-.PATH: ${.CURDIR}/../../ofed/include/linux
KMOD= mlx4ib
SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
@@ -10,7 +9,8 @@ SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
doorbell.c mad.c main.c mr.c qp.c srq.c wc.c cm.c
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4
-CFLAGS+= -I${.CURDIR}/../../ofed/include/
+CFLAGS+= -I${.CURDIR}/../../ofed/include
+CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
CFLAGS+= -DINET6 -DINET
OpenPOWER on IntegriCloud