]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r302484: NewBus'ify NTB subsystem.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Aug 2016 10:39:00 +0000 (10:39 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Aug 2016 10:39:00 +0000 (10:39 +0000)
commit16c157baab9767e239718b67e137c81c527b66b6
treedf6f3df197f72e0bae08c6e66bdaaf76bb9f9d23
parent33898ae6e1e061e3ce32f6e6bd05cefcaed98316
MFC r302484: NewBus'ify NTB subsystem.

This follows NTB subsystem modularization in Linux, tuning it to FreeBSD
native NewBus interfaces.  This change allows to support different types
of hardware with different drivers, support multiple NTB instances in a
system, ntb_transport module use for needs other then if_ntb, etc.

Sponsored by:   iXsystems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@304380 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
15 files changed:
sys/conf/files.amd64
sys/conf/files.i386
sys/dev/ntb/if_ntb/if_ntb.c
sys/dev/ntb/ntb.c [new file with mode: 0644]
sys/dev/ntb/ntb.h [new file with mode: 0644]
sys/dev/ntb/ntb_hw/ntb_hw.c
sys/dev/ntb/ntb_hw/ntb_hw.h [deleted file]
sys/dev/ntb/ntb_hw/ntb_regs.h
sys/dev/ntb/ntb_if.m [new file with mode: 0644]
sys/dev/ntb/ntb_transport.c [new file with mode: 0644]
sys/dev/ntb/ntb_transport.h [new file with mode: 0644]
sys/modules/ntb/Makefile
sys/modules/ntb/ntb/Makefile [new file with mode: 0644]
sys/modules/ntb/ntb_hw/Makefile
sys/modules/ntb/ntb_transport/Makefile [new file with mode: 0644]