MFC r275162:
Init array field in the proper place.

Obtained from:	OpenBSD


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275349 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r274918:
Don't use the synchronization endpoint unless referenced by the
isochronous endpoint descriptor used for the data transfers, hence the
synchronization feature might not be supposed to be supported [yet].
This makes seamless playback synced with the USB HOST clock work with
the DN32-USB module for Midas audio systems and possibly other similar
products from Klark Teknik.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275352 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r274806:

Add a guard against attempting to invoke the buildenv target with -j# as
that silently exits rather than doing something useful.

Sponsored by:	DARPA, AFRL


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275425 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r258168: Add ID for Intel Lynx Point HDMI CODEC.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275440 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r258170:
Add some more Intel HDA controller IDs and rename HDMI CODEC to Haswell.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275441 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r275101:
Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275442 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r275328 and r275330:
Add missing libraries when linking and fix building of some infiniband
utilities by updating some header file locations and compiler include
directives.

Sponsored by:	Mellanox Technologies


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275449 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r275110:
Add new USB quirk.

PR:		195372


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r273488:
Fix some bugs in the error handling of getdevice().

PR:	194506


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275466 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r274922:

Fix the following -Werror warning from clang 3.5.0, while building the
ath kernel module:

sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) {
                    ^
sys/dev/ath/ah_osdep.h:74:18: note: expanded from macro 'abs'
#define abs(_a)         __builtin_abs(_a)
                        ^
sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: note: remove the call to '__builtin_abs' since unsigned values cannot be negative
sys/dev/ath/ah_osdep.h:74:18: note: expanded from macro 'abs'
#define abs(_a)         __builtin_abs(_a)
                        ^
1 error generated.

This warning occurs because both lp[0] and target are unsigned, so the
subtraction expression is also unsigned, and calling abs() is a no-op.

However, the intention was to look at the absolute difference between
the two unsigned quantities.  Introduce a small static function to
clarify what we're doing, and call that instead.

Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D1212


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275471 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r275366:

Pull in r209785 from upstream libc++ trunk (by Marshall Clow):

  Fix a problem exposed by r208825, which caused bind (and other bits of
  libc++) to stop working. And tests

This fix is needed to support clang 3.5.0 and higher, which are more
strict about forming pointer-to-function types with cv-qualifiers or
ref-qualifiers.  See also the upstream PR <http://llvm.org/PR19742> and
<http://llvm.org/viewvc/llvm-project?rev=208825&view=rev>

Reported by:	amdmi3


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275472 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add missing VT_ kernel config knobs

MFC of r268059


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275484 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFstable/10 r275501:

  MFC r271796 (by will):

    Use 'cc' for the C compiler instead of 'gcc'.

    Sponsored by:	Spectra Logic
    MFSpectraBSD:	1079507 on 2014/07/24


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275505 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r271695:
Fix some incorrect endianness checks.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@275517 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFstable/10 r275508,r275509:

r275508:

  MFC r274364:

    Add baud rate support to telnet(1)

    This implements part of RFC-2217

    It's based off a patch originally written by Sujal Patel at Isilon, and
    contributions from other Isilon employees.

    PR: 173728
    Phabric: D995
    Reviewed by: markj, markm
    Sponsored by: EMC / Isilon Storage Division

r275509:

  MFC r274365:

    Revert WiP to contrib/tzcode accidentally committed with r274364


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