Parly revert r239255: reinstate a default maxswzone on i386, where KVA is
scarce, but set it slightly higher so we can handle 8 GB of swap.
Dont cast from char* to struct chrp_header* which has a bigger alignment
requirements. Copy it via union instead. Fixes a clang warning about
alignment.

Reviewed by:    sobomax
use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage.
Don't build and install the 07.lpd doc if WITHOUT_LPR is set.

MFC after:	1 week
Rework the DMA handling in ida(4) and add locking to make this driver
MPSAFE.
- Preallocate a full set of QCBs during attach rather than allocating new
  ones on demand to avoid allocations in the I/O path.
- Remove the explicit bus space tag/handle and use bus_*() on the
  relevant 'struct resource' instead.
- Defer logical drive probing to an intrhook.
- Fix ida_detach() to detach and delete child devices (logical drives).
- Update the DMA handling to support EINPROGRESS by moving the work to
  submit a mapped request into the bus_dma callback routine as well as
  add support for freezing the queue when EINPROGRESS is encountered.

Tested by:	Marco Steinbach  coco executive-computing de
Show error messages if nmount() failed.

MFC after:	1 month
Add a few other files that are obsolete if WITH_CLANG_EXTRAS is enabled,
and clang is updated to 3.2.
Add missing parts to zpool-features.5 manual page

Obtained from:	vendor/illumos/dist
MFC after:	2 weeks
Fix the debugging output to correctly log CCK errors.
Ensure that all firstep values are available in ANI.

The comparison assumes maxFirstepLevel is a count, rather than a maximum
value.  The array is 3 entries in size however 'maxFirstepLevel' is 2.

This bug also exists in the AR5212 HAL.
Improve the sample rate logging.
Convert to using ulzma.
Slim down the default AR724X build.

The AR724X boards tend to come with minimal RAM/flash.
Convert AP93 to use the new AR724X_BASE configuration file.
Don't grab an unreferenced pointer to the VAP bss node.
Only print the descriptor contents!

Found by:	magical CLANG build environments

Submitted by:	Sevan <venture37@gmail.com>
Bring in the multi-block patches for mci.  These required extensive
restructuring of the driver.  I've tried to preserve the other silicon
workarounds that we've added over the years, but haven't had a chance
to extensively test on other hardware.  On my AT91RM9200 with 30MHz/1
wire/64 block transfers, I've been able to go from ~.66MB/s to
2.25MB/s in the simple tests I performed, almost a 3.5x improvement.
This cuts the boot time almost in half when everything else goes
right (timed from rtc message to login: prompt).

PR:		155214
Submitted by:	Ian Lapore
Style: Move these routines to be before the forward declared functions
as is the normal practice.
Move to using a flag instead of checking the CPU type each
transaction for the MCI1 rev 2.x write workarounds.
This is an initial board configuration for the D-Link DIR-825 dual-band
802.11n router.

The flash layout defaults to a 1 MiB section for the kernel so I'm trying
very hard to squeeze a minimialistic (LZMA compressde) kernel image into
that.

I've verified that it boots through to single user mode fine.

Issues:

* USB doesn't yet work as a module - I need to add something else to the
  USB AR71xx build before that will work.
* There's no switch PHY support - but for now it quite happily behaves
  as a useful dumb switch out of the box.  Phew.
* Since a previous flash attempt trashed my radio configuration block,
  I haven't yet verified whether the wireless works correctly.
  I'll test that out shortly (read: once I re-calibrate the board somehow.)

Thanks to ray@ and the zrouter project for doing some of the initial
hard work in figuring out how to bring this board up.