freebsd-dev/sys/dev/ntb
Alexander Motin 32727d3b6d When negotiating NTB_SB01BASE_LOCKUP workaround, don't try to limit the
BAR size to 1MB.  According to Xeon v3 specifications and my tests, that
size register is write-once and so not writeable after BIOS written it.

Instead of that, make the code work with BAR of any sufficient size,
properly calculating offset within its base.  It also simplifies the code.

Discussed with:	cem
MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
2016-06-04 00:18:59 +00:00
..
if_ntb
ntb_hw When negotiating NTB_SB01BASE_LOCKUP workaround, don't try to limit the 2016-06-04 00:18:59 +00:00