tart to clean up the armv6 kernel configs by reducing the diff between
them in the first sections and the later FDT support.

Differential Revision:	https://reviews.freebsd.org/D1346
Reviewed by:	rpaulo (earlier version)
Fix the indentation to simplify comparing the ARM config files.
Various mdoc fixes.

Found with:	mandoc -Tlint
Various mdoc fixes and a few EOL whitespace removals.

Found with:	mandoc -Tlint
Handle MAKEENTRY cnp flag in the VOP_CREATE().  Curiously, some
fs, e.g. smbfs, already did it.

Tested by:	pho (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Add VN_OPEN_NAMECACHE flag for vn_open_cred(9), which requests that
the created file name was cached.  Use the flag for core dumps.

Requested by:	rpaulo
Tested by:	pho (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Don't check twice that inp is not NULL.

Reported by:	Coverity
CID:		748671
MFC after:	3 days
Add a constant AHCI_MAX_IRQS removing magic number

Sponsored by:	Multiplay
Clamp ahci max irq's to AHCI_MAX_IRQS

This prevents the possiblity of any overruns on the statically allocated
struct irqs field.

Differential Revision:	D838
MFC after:	2 weeks
X-MFC-With:	r276012
Sponsored by:	Multiplay
Reduce the diff to the arm_intrng project branch by having the read/write
macros take the softc they are accessing.
Return the error from ahci_setup_interrupt in ahci_attach

Previously ahci_attach returned a hard coded ENXIO instead of the value
from ahci_setup_interrupt. This is effectively a NOOP change as currently
ahci_setup_interrupt only ever returns 0 or ENXIO, so just there to protect
against any future changes to that.

Differential Revision:	D838
MFC after:	2 weeks
Sponsored by:	Multiplay
Reduce the diff between head and arm_intrng with the bcm2835 interrupt
controller.
style (9) nits

Use return (val); instead of return val;

Differential Revision:	D838
MFC after:	2 weeks
Sponsored by:	Multiplay
Reduce the diff in the Ti aintc between head and arm_intrng
Reduce the diff between the lpc interrupt controller in head and arm_intrng
Merge remote-tracking branch 'freebsd/master' into hardened/current/master
Allow whitspace to appear between device name and unit number in loaderdev.
This allows the same value to be used in u-boot commands and the loaderdev
env var that gets passed to ubldr, for example 'fatload mmc 1 ${bootfile}".
Switch zfsboot installer force 4K option to use vfs.zfs.min_auto_ashift=12

Previously we used gnop(8) to fake 4K sector size disks but ZFS now has a
sysctl to control this when creating new top level vdev's so use that
instead.

Differential Revision:	D566
MFC after:	1 month
Sponsored by:	Multiplay
Further reduce the diff between the arm_intrng gic driver and the version
in head.
Remove a volatile qualifier on return type that is ignored and results in
a -Wreturn-type warning when compiled with gcc.