Wrap the creation of the ../include link in /usr/lib in
!defined(LIBRARIES_ONLY) so it is only created once on architectures
with 32-bit compat support.

Replace ln -fhs with ${INSTALL_SYMLINK} to the link is logged in the
METALOG.
Partial MFC of change 228122:

Due to the requirement that tty prefixes be unique per driver, rename
the Altera JTAG UART devices to ttyj#.

Sponsored by:	DARPA, AFRL
MFP4 changes 222065 and 222068:

Add a simplebus attachment for cfi(4)'s FDT support and move
cfi_bus_fdt.c to sys/conf/files so non-ppc architectures are supported.

Sponsored by:	DARPA, AFRL
MFP4 change 222060:

On Intel devices, put the Factory PPR in kenv.  On some FPGA boards it may
be the only software accessable unique ID.

Sponsored by:	DARPA, AFRL
Make an attempt to detect missing MTREE files in distrib-dirs.  Not
perfect, but this is just a developer seatbelt.

PR:		conf/176897
Submitted by:	Garrett Cooper <yaneurabeya@gmail.com>
MFC after:	1 week
Fix DDP breakage introduced in r248925.  Bitwise OR has higher
precedence than ternary conditional.

MFC after:	1 week
Add some advice to get past the hurdle of install -l for the common, but
non-default (and unsupportable) case of setting INSTALL="install -C" in
/etc/make.conf or /etc/src.conf.
Add missing braces

Reviewed by:	swildner@dragonflybsd.org
Reviewed by:	delphij
Remove ancient compatibility cruft.

Reviewed by:	delphij
There's no HAL_EEPROM in FreeBSD - use ar9300_eeprom_t instead.
Disable TXCONT, it's not here in FreeBSD.
Correct a few sizeof()s

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred
Fix incorrect sizeof() in bzero()

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred, jmallett
Make the internal assertion correct--only fail when '\0' is found in
places other than the end of the test section. Otherwise, with kernel
compiled with Clang which happens to be setting ELF section alignment
differently config(8) was throwing assert() failure unnecessarily

Reported by:	Kimmo Paasiala <kpaasial (at) gmail.com>
Tested by:	Kimmo Paasiala <kpaasial (at) gmail.com>
MFC after:	10 days
Import virgin regdef.h from 4.4 Lite 2's sys/pmax/include/regdef.h,
expand the %sccs.include.redist.c% directive with the standard
3-clause license, and add $FreeBSD$ to keep the commit script happy.

# This may break some mips stuff, which will be fixed in the next commit.
Add the standard #ifdef header protection.
Import NetBSD's version, which is perfectly fine.

Submitted by:	jmallet@
Remove asm.h dependency in a hackish way.
Fixed comment.
Don't include asm.h in non-asm files.
Remove #define to get kludges that asm.h used to define
Move clever macros to access assembler instructions to trap.c
Remove __ASSEMBLER__ ifdefs in regdef.h: they aren't needed anymore.
Add a historic footnote.