Do not malloc(9) while holding a spin lock, to avoid panic.  Note it was
submitted upstream and it should be fixed in the next ACPICA release.

Discussed with:	Moore, Robert (robert dot moore at intel dot com)
Import OpenSSL 0.9.8x.
Add a check for dynamic OFDM/CCK channel types.
Add in some further changes from the AR9300 HAL:

* Add a new ANI variable, for AR9003 and later chips;
* The AR9003 and later series chips support two RX queues now, so start
  down the road of supporting that;
* Add some new TX queue types - uAPSD is possible on earlier chips,
  but PAPRD is relevant to AR9003 and later.

Obtained from:	Qualcomm Atheros, Linux ath9k
Use %j to match intmax_t.
Now that the mps(4) driver is endian-safe, add it to the powerpc 32-bit
GENERIC config file.

MFC after:	3 days
Reqested by:	nwhitehorn
Opt-in rather than opt-out of the SoC.  We don't really support
running with multiple SoCs compiled in very well anyway, so this just
wastes space.  As more and more SoCs arrive in the tree, it is better
to edit one master file that builds them all than many board files.
Create a pseudo-lint kernel for all at91 SoCs.  This kernel will not
currently boot, but will serve as a good linting.  make universe could
now be altered to skip building all the other at91 kernels...
Add illumos manual pages to vendor/illumos (original location)
illumos-gate revision 13742:b6bbdd77139c
Add userland ZFS to vendor/illumos
illumos-gate revision 13742:b6bbdd77139c
tws(4) is interfaced with CAM so move it to the same section.

Reported by:	joel
MFC after:	3 days
Add zfs manual pages missing in r237895
Similar to all.log, mention that /var/log/console.log has to be created and chmod'ed
to make logging work.

PR:		168889
Submitted by:	Robert Simmons <rsimmons0@gmail.com>
MFC after:	1 week
Replace an unreachable panic() in vm86_getptr (been there for 13 years) with
a KASSERT() behind the functions's only consumer.

Suggested by:	kib
Reviewed by:	kib
CID:		4494
Found with:	Coverity Prevent(tm)
MFC after:	2 weeks
Add kernel part (uts) with ZFS to vendor/illumos
illumos-gate revision 13742:b6bbdd77139c
In g_mirror_regular_request() upon successful delivery treat
BIO_DELETE requests same way as BIO_WRITE removing them from
queue. This fixes panic with BIO_DELETE operations on geom_mirror.

Reviewed by:	pjd
Make geom_mirror more friendly to SSDs. To properly support TRIM,
we need to pass BIO_DELETE requests down to providers that support
it. Also, we need to announce our support for BIO_DELETE to upper
consumer. This requires:

- In g_mirror_start() return true for "GEOM::candelete" request.
- In g_mirror_init_disk() probe below provider for "GEOM::candelete"
  attribute, and mark disk with a flag if it does support BIO_DELETE.
- In g_mirror_register_request() distribute BIO_DELETE requests only
  to those disks, that do support it.

Note that we announce "GEOM::candelete" as true unconditionally of
whether we have TRIM-capable media down below or not. This is made
intentionally, because upper consumer (usually UFS) requests the
attribite only once at mount time. And if user ever migrates his
mirror from HDDs to SSDs, then he/she would get TRIM working without
remounting filesystem.

Reviewed by:	pjd
Check if there is cmsg at all.

MFC after:	3 days
Remove bogus __unused attribute from hrowpic_eoi().
Correct a grammo.