NTB Tool: Test driver for NTB hardware drivers.
NTB Tool driver is meant for testing NTB hardware driver functionalities, such as doorbell interrupts, link events, scratchpad registers and memory windows. This is a port of ntb_tool driver from Linux. It has been verified on top of AMD and PLX NTB HW drivers. Submitted by: Arpan Palit <arpan.palit@amd.com> Cleaned up by: mav MFC after: 2 weeks Relnotes: yes Differential Revision: https://reviews.freebsd.org/D18819
This commit is contained in:
parent
80746f9f83
commit
96f556f504
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351137
@ -225,6 +225,7 @@ dev/ntb/ntb_if.m optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_in
|
||||
dev/ntb/ntb_hw/ntb_hw_amd.c optional ntb_hw_amd | 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/ntb/test/ntb_tool.c optional ntb_tool
|
||||
dev/nvram/nvram.c optional nvram isa
|
||||
dev/random/ivy.c optional rdrand_rng !random_loadable
|
||||
dev/random/nehemiah.c optional padlock_rng !random_loadable
|
||||
|
@ -156,6 +156,7 @@ dev/ntb/ntb_if.m optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_in
|
||||
dev/ntb/ntb_hw/ntb_hw_amd.c optional ntb_hw_amd | 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/ntb/test/ntb_tool.c optional ntb_tool
|
||||
dev/nvram/nvram.c optional nvram isa
|
||||
dev/ofw/ofwpci.c optional fdt pci
|
||||
dev/pcf/pcf_isa.c optional pcf
|
||||
|
1516
sys/dev/ntb/test/ntb_tool.c
Normal file
1516
sys/dev/ntb/test/ntb_tool.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= ntb ntb_hw_amd ntb_hw_intel ntb_hw_plx ntb_transport if_ntb
|
||||
SUBDIR= ntb ntb_hw_amd ntb_hw_intel ntb_hw_plx ntb_transport ntb_tool if_ntb
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user