MFprojects/camlock r248894:
Use full freeze while PMP does hard reset. This is only cosmetical change.
Fix the name of the pcb member in the comments.

Submitted by:	Oliver Pinter <oliver.pntr@gmail.com>
MFC after:	3 days
move the error report to a lower log level...  Now you can see when it
returns an error without getting every single io that went through it..

MFC after:	1 week
Fix undefined behaviour in several gpio_pin_setflags() routines (under
sys/arm and sys/mips), squelching the clang 3.3 warnings about this.

Noticed by:	tinderbox and many irate spectators
Submitted by:	Luiz Otavio O Souza <loos.br@gmail.com>
PR:		kern/177759
MFC after:	3 days
Create sysctl node 'hw.vmm.vmx' and populate it with oids that expose the VMX
hardware capabilities.

Obtained from:	NetApp
Clean up the ntop / pton code.  Part of a patch which has been submitted
upstream but not yet adopted.
Include ldns's b{32,64}_{ntop,pton}().
Clean up.
Improve/correct a comment. We now support a lot more cpu types.

PR:	kern/177496
Approved by:	sbruno (mentor)
Fixing a clang warning indicating uninitialized variable usage.

PR:	kern/177164
Approved by:	sbruno (mentor)
Correct spelling is "Christiaan Huygens".

Submitted by:	James J. Lippard
Obtained from:	OpenBSD
LSD first synthesised 16/11/38, not 7/4/43.

Submitted by:	James J. Lippard
Obtained from:	OpenBSD
Fix typo from previous commit.

Submitted by:	Ronald Klop <ronald-freebsd8@klop.yi.org>
MFprojects/camlock r248890, r248897, r248898, r248900, r248903, r248905,
r248917, r248918, r248978, r249001, r249014, r249030:

Remove multilevel freezing mechanism, implemented to handle specifics of
the ATA/SATA error recovery, when post-reset recovery commands should be
allocated when queues are already full of payload requests.  Instead of
removing frozen CCBs with specified range of priorities from the queue
to provide free openings, use simple hack, allowing explicit CCBs over-
allocation for requests with priority higher (numerically lower) then
CAM_PRIORITY_OOB threshold.

Simplify CCB allocation logic by removing SIM-level allocation queue.
After that SIM-level queue manages only CCBs execution, while allocation
logic is localized within each single device.

Suggested by:	gibbs
MFprojects/camlock r248982:
Stop abusing xpt_periph in random plases that really have no periph related
to CCB, for example, bus scanning.  NULL value is fine in such cases and it
is correctly logged in debug messages as "noperiph".  If at some point we
need some real XPT periphs (alike to pmpX now), quite likely they will be
per-bus, and not a single global instance as xpt_periph now.
Remove owner field from struct cam_ed, unused at least since FreeBSD 7.
libc: Fix typo in French translation.

PR:		kern/177704
Submitted by:	martymac
MFC after:	1 week
Add one more obsolete file.
Silence "received disconnect" in the common case.
Usnure that PCI bus BIS_GET_DMA_TAG() method sees the actual PCI
device which makes the request for dma tag, instead of some descendant
of the PCI device, by creating a pass-through trampoline for vga_pci
and ata_pci buses.

Sponsored by:	The FreeBSD Foundation
Suggested by:	jhb
Discussed with:	jhb, mav
MFC after:	1 week