summaryrefslogtreecommitdiffstats
path: root/sys/modules/ntb/ntb_hw/Makefile
diff options
context:
space:
mode:
authorcarl <carl@FreeBSD.org>2013-04-29 22:48:53 +0000
committercarl <carl@FreeBSD.org>2013-04-29 22:48:53 +0000
commit542feb6d728678f9a7f9437f0323a9bcfbaf7192 (patch)
tree3b196f716100f9db59d3db91e466f414c5f4a9ec /sys/modules/ntb/ntb_hw/Makefile
parent1d1f55566570c678bf9f58dfb1a42f8a3e4bfb68 (diff)
downloadFreeBSD-src-542feb6d728678f9a7f9437f0323a9bcfbaf7192.zip
FreeBSD-src-542feb6d728678f9a7f9437f0323a9bcfbaf7192.tar.gz
Add a new driver to support the Intel Non-Transparent Bridge(NTB).
The NTB allows you to connect two systems with this device using a PCI-e link. The driver is made of two modules: - ntb_hw which is a basic hardware abstraction layer for the device. - if_ntb which implements the ntb network device and the communication protocol. The driver is limited at the moment to CPU memcpy instead of using DMA, and only Back-to-Back mode is supported. Also the network device isn't full featured yet. These changes will be coming soon. The DMA change will also bring in the ioat driver from the project branch it is on now. This is an initial port of the GPL/BSD Linux driver contributed by Jon Mason from Intel. Any bugs are my contributions. Sponsored by: Intel Reviewed by: jimharris, joel (man page only) Approved by: jimharris (mentor)
Diffstat (limited to 'sys/modules/ntb/ntb_hw/Makefile')
-rw-r--r--sys/modules/ntb/ntb_hw/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/ntb/ntb_hw/Makefile b/sys/modules/ntb/ntb_hw/Makefile
new file mode 100644
index 0000000..fc46b46
--- /dev/null
+++ b/sys/modules/ntb/ntb_hw/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/ntb/ntb_hw
+
+KMOD = ntb_hw
+SRCS = ntb_hw.c
+SRCS += device_if.h bus_if.h pci_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud