NTB: switchtec: Add NTB hardware register definitions
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 3 Aug 2017 18:19:42 +0000 (12:19 -0600)
committerJon Mason <jdmason@kudzu.us>
Sun, 19 Nov 2017 01:37:11 +0000 (20:37 -0500)
commitc082b04c9d40f69dacd93a151db114299f5de6eb
treedc8e4a3be66a2bd1aa3edb3474cd0520d5406e11
parent302e994d3af7e4be8d0f789aa66422166ccd89c2
NTB: switchtec: Add NTB hardware register definitions

There are two additional regions: ctrl and dbmsg. The first is
for generic NTB control and memory windows. The second is for doorbells
and message registers. This patch also adds a number of related
constants for using these registers.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Kurt Schwemmer <kurt.schwemmer@microsemi.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
include/linux/switchtec.h