NTB: Clear property bits in BAR value
authorDave Jiang <dave.jiang@intel.com>
Thu, 19 Nov 2015 21:00:54 +0000 (14:00 -0700)
committerJon Mason <jdmason@kudzu.us>
Mon, 11 Jan 2016 14:51:17 +0000 (09:51 -0500)
commit703872c2c53b57ac14563e64c2df086ef57690f9
tree6d9e17a61c244d7bfb061fc14840e6622055d902
parent179f912a39ac192d2281ecb10a66918ee20f5d73
NTB: Clear property bits in BAR value

The lower bits read from a BAR register will contain property bits
that we do not care about. Clear those so that we can use the BAR
values for limit and xlat registers.

Reported-by: Conrad Meyer <cem@freebsd.org>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/intel/ntb_hw_intel.c
drivers/ntb/hw/intel/ntb_hw_intel.h