- Normalize jailname.  "example.com" is converted to "example_com".
- Fix a bug that some $jail_{jname}_foo variables did not work.
- Fix a bug which prevented $jail_devfs_ruleset from working[1].
- Move $jail_parameters to the last of the configuraiton lines[1].

Reported by:	Jase Thew[1]
Approved by:	re (glebius)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256440 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add needed files to the KLD random.ko.

Approved by:	re (kib)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256446 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make di_blocks unsigned in UFS1 as is the case already for UFS2.

Most of the code between UFS1 and UFS2 is shared so this change
is pretty safe. Not only this makes UFS1 and 2 consistent but it
also matches what NetBSD and MacOS X have for some years now.

Reviewed by:	mckusick
MFC after:	1 month


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256448 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Rename libbsdyml to libyaml, make private, and bump
SHLIB_MAJOR to 1.0

Suggested by:	des
Approved by:	bapt
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256450 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cxgbe(4): Update T4 and T5 firmwares to 1.9.12.0


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256459 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Delete all of the old RDMA code (except krping, which was switched to
use sys/ofed some time back).  This has been sitting around as dead code
in the tree for a very long time.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256467 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update krping to the latest upstream code.  Move all the FreeBSD
specific parts to krping_dev.c, which leaves the other files as
close to their upstream versions as possible.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256470 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cxgbe(4): Store the log2 of the # of doorbells per BAR2 page for both
ingress and egress queues, and for both T4 and T5.  These values are
used by the T4/T5 iWARP driver.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256477 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add register definitions for the AR933x SoC GMAC (ie, ethernet MAC)
control block.

The GMAC configuration block allows for some configuration of how
the GMAC0 (ie, arge0) port is connected to the on-board switch
(if indeed there is one.)  It both can be pushed into the on-board
switch; it could also be torn out and exposed via an external
MII (and that operational mode is also controllable.)

Obtained from:	Linux/OpenWRT


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256482 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add the rest of the AR934x SoC reset register definitions.

Obtained from:	Linux/OpenWRT


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256483 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add AR934x, AR8327 register definitions.

Obtained from:	Linux/OpenWRT


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256486 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add new features - an MDIO clock, WMAC reset, GMAC reset and ethernet
switch reset/initialise functions.

The AR934x and QC955x SoCs both have a configurable MDIO base clock.
The others have the MDIO clock use the same clock as the system
reference clock, whatever that may be.

Tested:

* AR9344 SoC

TODO:

* mips24k - AR933x would be fine for now, just to ensure that things
  are sane.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256487 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix the Atheros MIPS startup path a little.

* Print out the platform frequency the same as the other frequencies.
* Print out the MDIO frequency.
* Optionally do GMAC and ethernet switch setup if required.

Tested:

* AR9344


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256488 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add executable bit to docsinstall [old] and entropy [new] scripts.

Approved by:	re (gjb)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256489 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update the AR933x SoC support to include a few new knobs:

* Initialise the MDIO clock to default to the reference clock;
* Add some code to allow the hints mechanism to allow setup of the GMAC
  config block.
* Document how the switch is wired up internally.

Tested:

* AR9331 SoC (Carambola 2)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256490 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update the AR934x SoC support.

* Add the MDIO clock probe during clock initialisation;
* Update the ethernet PLL configuration function to use the correct
  values;
* Add a GMAC block configuration to pull the configuration out of hints;
* Add an ethernet switch reconfiguration method.

Tested:

* AR9344 SoC (DB120)

.. however, this has been tested with extra patches in my tree (to fix
the ethernet/MDIO support, SPI support, ethernet switch support)
and thus it isn't enough to bring the full board support up.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256491 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add the long-missing spibus_if.m to the MFILES list.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Move DO_AST into pcb.h where it should have been all along. Move some
common macros for saving/restoring registers into pcb.h as well.

Reviewed by:	jmallet@


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256493 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Move DO_AST into pcb.h where it should have been all along. Move some
common macros for saving/restoring registers into pcb.h as well.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@256494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Replace uses of the ALEAF macro with XLEAF and remove ALEAF macro to
try to unify the conventions used in our assembler.

Reviewed by:	jmallet@


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