NTB: Mask off the low 12 bits of address/range registers
authorcem <cem@FreeBSD.org>
Wed, 18 Nov 2015 22:20:31 +0000 (22:20 +0000)
committercem <cem@FreeBSD.org>
Wed, 18 Nov 2015 22:20:31 +0000 (22:20 +0000)
commitc87adb684ebcd9b1ea139eda678b112bf12cfd5b
tree30d08f37bfeb2dcafe7b5bde9c6bb3683197c645
parent7354d53b8de20132c22d13bb13bd275e2509a4b1
NTB: Mask off the low 12 bits of address/range registers

Sometimes they'll read spurious values (observed: 0xc on Broadwell-DE),
failing link negotiation.

Discussed with: Dave Jiang, Allen Hubbe
Sponsored by: EMC / Isilon Storage Division
sys/dev/ntb/ntb_hw/ntb_hw.c