Fix build of aha(4).

Submitted by:	delphij


git-svn-id: svn://svn.freebsd.org/base/head@241603 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disconnect non-MPSAFE HPFS from the build in preparation for dropping
GIANT from VFS.

This is not targeted for MFC.


git-svn-id: svn://svn.freebsd.org/base/head@241604 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix build of dpt(4).


git-svn-id: svn://svn.freebsd.org/base/head@241605 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disconnect non-MPSAFE PORTALFS from the build in preparation for dropping
GIANT from VFS.

This is not targeted for MFC.


git-svn-id: svn://svn.freebsd.org/base/head@241606 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disconnect non-MPSAFE XFS from the build in preparation for dropping
GIANT from VFS.

This is not targeted for MFC.


git-svn-id: svn://svn.freebsd.org/base/head@241607 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disconnect non-MPSAFE CODAFS from the build in preparation for dropping
GIANT from VFS.

This is not targeted for MFC.


git-svn-id: svn://svn.freebsd.org/base/head@241608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make the "struct if_clone" opaque to users of the cloning API. Users
now use function calls:

  if_clone_simple()
  if_clone_advanced()

to initialize a cloner, instead of macros that initialize if_clone
structure.

Discussed with:		brooks, bz, 1 year ago


git-svn-id: svn://svn.freebsd.org/base/head@241610 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix aha(4) build with i386 LINT (which includes 'device mca').


git-svn-id: svn://svn.freebsd.org/base/head@241611 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Obey the value of "MK_BMAKE".


git-svn-id: svn://svn.freebsd.org/base/head@241612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for samsung HM250JI

PR:		usb/121474
Submitted by:	Ben Stuyts <ben@altesco.nl>
Approved by:	cperciva (implicit)
MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@241613 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
introduce concept of ifi_baudrate power factor. the idea is to work
around the problem where high speed interfaces (such as ixgbe(4))
are not able to report real ifi_baudrate. bascially, take a spare
byte from struct if_data and use it to store ifi_baudrate power
factor. in other words,

real ifi_baudrate = ifi_baudrate * 10 ^ ifi_baudrate power factor

this should be backwards compatible with old binaries. use ixgbe(4)
as an example on how drivers would set ifi_baudrate power factor

Discussed with:	kib, scottl, glebius
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@241616 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Properly handle non-keyword case by setting e->second to 0.


git-svn-id: svn://svn.freebsd.org/base/head@241618 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
report total number of ports for each lagg(4) interface
via net.link.lagg.X.count sysctl

MFC after:	1  week


git-svn-id: svn://svn.freebsd.org/base/head@241619 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
o Use nanosleep(2) to sleep exact amount of time till the next second,
not multiple of 1 second, which results in actual time to drift back
and forth every run within 1 second of the actual action has
been set for.

Suggested by:   Ian Lepore

o Schedule the first run in 1 second after starting up, not on the
boundary of the next minute, which results in the every_second jobs
not being run.


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