Add some logging to ntb link up.

Approved by:	jimharris
Sponsored by:	Intel
Throw a bit to enable the link to come up on Xeon.

Approved by:	jimharris
Sponsored by:	Intel
Fix a typo.

Approved by:	jimharris
Sponsored by:	Intel
Fix name change from ntb_transport to if_ntb. A few places were
overlooked.

Approved by:	jimharris
Sponsored by:	Intel
Restructure the PCI bar initialization code in anticipation of upcoming
bug fixes.

Approved by:	jimharris
Sponsored by:	Intel
Align stacks of kernel threads correctly at 16-byte boundaries rather than
making sure they are all misaligned at +8 bytes. This fixes clang builds
of powerpc64 kernels (aside from a required increase in KSTACK_PAGES which
will come later).

This commit from FreeBSD/powerpc64 with a clang-built kernel.

MFC after:	2 weeks
Add support for per device features and workarounds.

Approved by:	jimharris
Sponsored by:	Intel
Simplifying bus alloc resource call since we only need the default values.

Approved by:	jimharris
Sponsored by:	Intel
Implement workaround for IvyTown 4K BAR size issue.

Approved by:	jimharris
Sponsored by:	Intel
Cleaning up spacing and making hex value case consistent.

Approved by:	jimharris
Sponsored by:	Intel
Simplify register access macros by removing one level of indirection.

Approved by:	jimharris
Sponsored by:	Intel
Workaround an issue with hardware by accessing remote device through mem
window.

Approved by:	jimharris
Sponsored by:	Intel
Only tear down interface and transport if they've been successfully setup.

Approved by:	jimharris
Sponsored by:	Intel
Remove contractions.

Approved by:	jimharris
Sponsored by:	Intel
Also align the 32-bit PowerPC stacks.
It was reported via email that the cu_sent field used by the
krpc client side UDP was observed as way out of range and
caused the rpc.lockd daemon to hang trying to do an RPC.
Inspection of the code found two places where the RPC request
is re-queued, but the value of cu_sent was not incremented.
Since cu_sent is always decremented when the RPC request is
dequeued, I think this could have caused cu_sent to go out of
range. This patch adds lines to increment cu_sent for these
two cases.

Reported by:	dwhite@ixsystems.com
Discussed with:	dwhite@ixsystems.com
MFC after:	2 weeks
If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token ("E")
into the job queue.
This avoids closing down an entire build on failure of one branch.
Probably has no use outside the context of universe/tinderbox.

Reviewed by:	obrien
During universe/tinderbox export MAKE_JOB_ERROR_TOKEN=no
This avoids aborting everything when one kernel fails.

Reviewed by:	obrien