Always update the hw.uart.console hint anytime a change is made to the
comconsole setup.  Previously the hint would be set when if you set a
custom port, but it would not be updated if you later set a custom speed.

Also, leave the hw.uart.console hint mutable so it can be overridden or
unset by the user if needed.

Reviewed by:	kib (earlier version)
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@245848 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't assume that all Linux TCP-level socket options are identical to
FreeBSD TCP-level socket options (only the first two are).  Instead,
using a mapping function and fail unsupported options as we do for other
socket option levels.

MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@245849 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revert the part of r239864 which removed obtaining the SMP mutex around
reading registers from other CPUs. As it turns out, the hardware doesn't
really like concurrent IPI'ing causing adverse effects. Also the thought
deadlock when using this spin lock here and the targeted CPU(s) are also
holding or in case of nested locks can't actually happen. This is due to
the fact that on sparc64, spinlock_enter() only raises the PIL but doesn't
disable interrupts completely. Thus direct cross calls as used for the
register reading (and all other MD IPI needs) still will be executed by
the targeted CPU(s) in that case.

MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@245850 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Only try to install one link at each path.

Don't install verify_krb5_conf.8.  It is installed in
kerberos5/usr.bin/verify_krb5_conf.


git-svn-id: svn://svn.freebsd.org/base/head@245852 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
manctl is conditionally added to SUBDIRS later on.  Don't unconditionally
include in the main list.


git-svn-id: svn://svn.freebsd.org/base/head@245853 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove several MLINKS that were listed twice.


git-svn-id: svn://svn.freebsd.org/base/head@245854 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
For 57765 class controllers, set low watermark max receive frames to 1.


git-svn-id: svn://svn.freebsd.org/base/head@245867 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import jemalloc 3.3.0.  This reduces zeroed memory validation overhead for
non-MALLOC_PRODUCTION builds.


git-svn-id: svn://svn.freebsd.org/base/head@245868 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update list of ports required for importing jemalloc.


git-svn-id: svn://svn.freebsd.org/base/head@245869 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bge_attach() can fail before attaching mii(4). So make sure to check
bge_miibus before detaching mii(4).


git-svn-id: svn://svn.freebsd.org/base/head@245870 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
 - Wrap long line;
 - Add -, to SYNOPSIS section.

MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@245871 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Indicate a bunch of new hardware support.

PR:		docs/173893
Submitted by:	Mathieu Simon <mathieu.sim@gmail.com>
Approved by:	bcr (mentor)


git-svn-id: svn://svn.freebsd.org/base/head@245872 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Move large functions m_getjcl() and m_get2() to kern/uipc_mbuf.c
- style(9) fixes to mbuf.h

Reviewed by:	bde


git-svn-id: svn://svn.freebsd.org/base/head@245873 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
style(9)

Reviewed by:	bde


git-svn-id: svn://svn.freebsd.org/base/head@245874 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disable MSI interrupts for SB600 chipset.  According to the report they are
not functional.

PR:		kern/174880, kern/174985, kern/175002
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@245875 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix timer to support oneshot and periodic mode
Use 64 bit high and low counter for timecounter and delay

Reviewed by: mav@, ian@
Approved by: gonzo@


git-svn-id: svn://svn.freebsd.org/base/head@245876 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Little-endian fix for PCI on Broadcom XLP.

Update the function xlp_pcib_hardware_swap_enable() to do nothing
when BYTE_ORDER is not BIG_ENDIAN. PCIe hardware swap is not requred
in little-endian mode as the endianness matches that of CPU.


git-svn-id: svn://svn.freebsd.org/base/head@245877 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Utilize m_get2(), accidentially fixing some signedness bugs.
- Return EMSGSIZE in both cases if uio_resid is oversized or undersized.
- No need to clear rcvif.


git-svn-id: svn://svn.freebsd.org/base/head@245878 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Broadcom XLP updates for the new firmware

Support few more versions of board firmware.  In case the security
block is disabled, enable it at boot. Also increase the excluded
memory region to cover the area used by the firmware to initialize
devices.


git-svn-id: svn://svn.freebsd.org/base/head@245879 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/master'