Nuke "systat -mbuf". It was broken since FreeBSD 5, and since there
haven't been any complaints, no one used it.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253360 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Nuke mbstat. It wasn't used for mbuf statistics since FreeBSD 5.

Now that r253351 moved sendfile() stats to a separate struct, the
last field used in mbstat is m_mcfail, which is updated, but never
read or obtained from userland.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253361 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add IBM ServeRAID M5110 to the hardware list.
This is a rebranded MegaRAID SAS 2208 [Thunderbolt] found e.g. on x3550 M4.

Reported by:	Ilia Noskov <noskov@nic.ru>
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253362 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Include sys/systm.h after sys/param.h.

Suggested by:	pluknet


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253367 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix an argument reversal in calls to scsi_read_element_status().

Reported by:	Ulrich Spoerlein <uqs@FreeBSD.org>
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253368 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make some improvements to r253322 to really rescan target, not a bus.
Add there and in two more places checks for NULL on xpt_alloc_ccb_nowait().


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253370 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add -n flag for compatibility with Linux version of mount(8).

Reviewed by: freebsd-fs, eadler, mckusick, jh, wblock


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253372 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Silent warnings.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253376 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add urtwnfw.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253378 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libc: name passed into __setenv is not necessarily NUL-terminated

That's particularly true when __setenv is called from __merge_environ.

MFC after:	4 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253380 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add missing header needed by sleep(3).


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use MAN= instead of NO_MAN=

For some reason it still tries to install a priv.1 when using NO_MAN,
even though there isn't one yet.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253385 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Need to define NO_MAN here.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253386 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Sweep unused nlist entries.

Sponsored by:	Nginx, Inc.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253391 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Workaround some broken BIOSes that specify edge-sensitive but active-low
settings for ACPI-enumerated serial ports by forcing any IRQs that use
an ISA IRQ value with these settings to active-high instead of active-low.

This is known to occur with the BIOS on an Intel D2500CCE motherboard.

Tested by:	Robert Ames <robertames@hotmail.com>, lev
Submitted by:	Juergen Weiss weiss at uni-mainz.de (original patch)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253392 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Do not throw an error if the user requests to activate the image from
an empty firmware slot, as long as the user has specified a firmware
image to download into the empty firmware slot.

Sponsored by:	Intel
Reported by:	Joe Golio <joseph.golio@emc.com>
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Free the non-fatal "timestamp missing" debug string manually as it is
not covered by the catch-all free for the error cases.

Found by:	Coverity


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253395 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
2 years, 10 months, 22 days after the projects/arm_eabi branch was created
make the ARM EABI the default ABI on arm, armeb, armv6 and armv6eb.

This is intended to be the default ABI from now on with the old ABI to be
retired. Because of this all users are strongly suggested to upgrade to the
ARM EABI.

As the two ABIs are incompatible it is unlikely upgrading in place will
work. Users should perform a full backup and either use an external machine
to upgrade, or install to an alternative location on their media. They
should also reinstall all ports or packages when these are available.

The only known issues are:
 - pkg incorrectly detects the ABI. This is fixed upstream, and will a
   patch will be made to the port.
 - GDB can have issues with executables built with clang.

__FreeBSD_version has been bumped.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253396 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Regen.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253397 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a tunable to force disable MSI use for xhci(4).

Requested and tested by:	delphij
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253398 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f