NTB: switchtec: Add NTB hardware register definitions
authorLogan Gunthorpe <[email protected]>
Thu, 3 Aug 2017 18:19:42 +0000 (12:19 -0600)
committerJon Mason <[email protected]>
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 <[email protected]>
Reviewed-by: Stephen Bates <[email protected]>
Reviewed-by: Kurt Schwemmer <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
include/linux/switchtec.h