summaryrefslogtreecommitdiff
path: root/sys/modules/ntb
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2016-08-18 10:39:00 +0000
committerAlexander Motin <mav@FreeBSD.org>2016-08-18 10:39:00 +0000
commitd87d1de8f67ef44a03fed12947a969f1927d1281 (patch)
treedf6f3df197f72e0bae08c6e66bdaaf76bb9f9d23 /sys/modules/ntb
parentb40479483528d178c430a5098d1b49e2fb08e722 (diff)
Notes
Diffstat (limited to 'sys/modules/ntb')
-rw-r--r--sys/modules/ntb/Makefile2
-rw-r--r--sys/modules/ntb/ntb/Makefile11
-rw-r--r--sys/modules/ntb/ntb_hw/Makefile4
-rw-r--r--sys/modules/ntb/ntb_transport/Makefile11
4 files changed, 26 insertions, 2 deletions
diff --git a/sys/modules/ntb/Makefile b/sys/modules/ntb/Makefile
index a5169a00e14c..3eaf7516a779 100644
--- a/sys/modules/ntb/Makefile
+++ b/sys/modules/ntb/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-SUBDIR= ntb_hw if_ntb
+SUBDIR= ntb ntb_hw ntb_transport if_ntb
.include <bsd.subdir.mk>
diff --git a/sys/modules/ntb/ntb/Makefile b/sys/modules/ntb/ntb/Makefile
new file mode 100644
index 000000000000..a343f28e8efa
--- /dev/null
+++ b/sys/modules/ntb/ntb/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/ntb
+
+KMOD = ntb
+SRCS = ntb.c ntb_if.c
+SRCS += device_if.h bus_if.h ntb_if.h
+
+MFILES= kern/bus_if.m kern/device_if.m dev/ntb/ntb_if.m
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/ntb/ntb_hw/Makefile b/sys/modules/ntb/ntb_hw/Makefile
index fc46b4682205..5240411f8cb3 100644
--- a/sys/modules/ntb/ntb_hw/Makefile
+++ b/sys/modules/ntb/ntb_hw/Makefile
@@ -4,6 +4,8 @@
KMOD = ntb_hw
SRCS = ntb_hw.c
-SRCS += device_if.h bus_if.h pci_if.h
+SRCS += device_if.h bus_if.h pci_if.h ntb_if.h
+
+MFILES= kern/bus_if.m kern/device_if.m dev/pci/pci_if.m dev/ntb/ntb_if.m
.include <bsd.kmod.mk>
diff --git a/sys/modules/ntb/ntb_transport/Makefile b/sys/modules/ntb/ntb_transport/Makefile
new file mode 100644
index 000000000000..505560049007
--- /dev/null
+++ b/sys/modules/ntb/ntb_transport/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/ntb
+
+KMOD = ntb_transport
+SRCS = ntb_transport.c
+SRCS += device_if.h bus_if.h ntb_if.h
+
+MFILES= kern/bus_if.m kern/device_if.m dev/ntb/ntb_if.m
+
+.include <bsd.kmod.mk>