diff options
author | Alexander Motin <mav@FreeBSD.org> | 2017-08-30 21:16:32 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2017-08-30 21:16:32 +0000 |
commit | ed9652da5f7debd222f71c25cf8480ed790bea6e (patch) | |
tree | 81a540cb4d823cb853fe3af7e2bc065ff055a877 /sys/conf | |
parent | f4711b38fdc9b8d3534e2184da930f42f5689ce1 (diff) | |
download | src-ed9652da5f7debd222f71c25cf8480ed790bea6e.tar.gz src-ed9652da5f7debd222f71c25cf8480ed790bea6e.zip |
Add NTB driver for PLX/Avago/Broadcom PCIe switches.
This driver supports both NTB-to-NTB and NTB-to-Root Port modes (though
the second with predictable complications on hot-plug and reboot events).
I tested it with PEX 8717 and PEX 8733 chips, but expect it should work
with many other compatible ones too. It supports up to two NT bridges
per chip, each of which can have up to 2 64-bit or 4 32-bit memory windows,
6 or 12 scratchpad registers and 16 doorbells. There are also 4 DMA engines
in those chips, but they are not yet supported.
While there, rename Intel NTB driver from generic ntb_hw(4) to more specific
ntb_hw_intel(4), so now it is on par with this new ntb_hw_plx(4) driver and
alike to Linux naming.
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Notes
Notes:
svn path=/head/; revision=323032
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.amd64 | 9 | ||||
-rw-r--r-- | sys/conf/files.i386 | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index a9b926f83c97..aae4765eaff7 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -330,10 +330,11 @@ dev/hyperv/vmbus/amd64/vmbus_vector.S optional hyperv dev/nctgpio/nctgpio.c optional nctgpio dev/nfe/if_nfe.c optional nfe pci dev/ntb/if_ntb/if_ntb.c optional if_ntb -dev/ntb/ntb_transport.c optional if_ntb -dev/ntb/ntb.c optional if_ntb | ntb_hw -dev/ntb/ntb_if.m optional if_ntb | ntb_hw -dev/ntb/ntb_hw/ntb_hw.c optional ntb_hw +dev/ntb/ntb_transport.c optional ntb_transport | if_ntb +dev/ntb/ntb.c optional ntb | ntb_transport | if_ntb | ntb_hw_intel | ntb_hw_plx | ntb_hw +dev/ntb/ntb_if.m optional ntb | ntb_transport | if_ntb | ntb_hw_intel | ntb_hw_plx | ntb_hw +dev/ntb/ntb_hw/ntb_hw_intel.c optional ntb_hw_intel | ntb_hw +dev/ntb/ntb_hw/ntb_hw_plx.c optional ntb_hw_plx | ntb_hw dev/nvd/nvd.c optional nvd nvme dev/nvme/nvme.c optional nvme dev/nvme/nvme_ctrlr.c optional nvme diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index 294379d000c4..c0ec01b5fcde 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -271,10 +271,11 @@ dev/mse/mse_isa.c optional mse isa dev/nctgpio/nctgpio.c optional nctgpio dev/nfe/if_nfe.c optional nfe pci dev/ntb/if_ntb/if_ntb.c optional if_ntb -dev/ntb/ntb_transport.c optional if_ntb -dev/ntb/ntb.c optional if_ntb | ntb_hw -dev/ntb/ntb_if.m optional if_ntb | ntb_hw -dev/ntb/ntb_hw/ntb_hw.c optional ntb_hw +dev/ntb/ntb_transport.c optional ntb_transport | if_ntb +dev/ntb/ntb.c optional ntb | ntb_transport | if_ntb | ntb_hw_intel | ntb_hw_plx +dev/ntb/ntb_if.m optional ntb | ntb_transport | if_ntb | ntb_hw_intel | ntb_hw_plx +dev/ntb/ntb_hw/ntb_hw_intel.c optional ntb_hw_intel +dev/ntb/ntb_hw/ntb_hw_plx.c optional ntb_hw_plx dev/nvd/nvd.c optional nvd nvme dev/nvme/nvme.c optional nvme dev/nvme/nvme_ctrlr.c optional nvme |