MFC r260485,260496:
  Remove extra nesting from X_ip6_mforward() function.
  Also remove disabled definitions from ip6_mroute.h.

  PR:		185148


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261219 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r260978:
Add check for "hw.usb.no_pf" sysctl value.


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

Pull in r195679 from upstream llvm trunk:

  Don't use nopl in cpus that don't support it.

  Patch by Mikulas Patocka. I added the test. I checked that for cpu names that
  gas knows about, it also doesn't generate nopl.

  The modified cpus:
  i686 - there are i686-class CPUs that don't have nopl: Via c3, Transmeta
	 Crusoe, Microsoft VirtualBox - see
	 https://bbs.archlinux.org/viewtopic.php?pid=775414
  k6, k6-2, k6-3, winchip-c6, winchip2 - these are 586-class CPUs
  via c3 c3-2 - see https://bugs.archlinux.org/task/19733 as a proof that
	 Via c3 and c3-Nehemiah don't have nopl

PR:		bin/185777


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261225 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 260910:
- Allow PCI devices that are attached to a driver to be identified by their
  device name instead of just the selector.
- Accept an optional device argument to -l to restrict the output to only
  listing details about a single device.  This is mostly useful in
  conjunction with other flags like -e or -c to allow a user to query
  details about a single device.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261250 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r260267 (by smh), r261042:
Correct short delete issue in SCSI UNMAP support
Correct missing \n's in xpt_print's
Correct incorrect count being passed to short delete xpt_print


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261256 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r261075: Update EINVAL description.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261281 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r261084:
  malloc() with M_WAITOK doesn't return NULL.

MFC r261085:
  Fix typo in r261084.
  Add to the gctl_error() an ability to specify error description even
  if numeric error code is already specified. Also by default set
  error code to EINVAL.

  PR:		185852

MFC r261086:
  In gctl_copyin() remove unused error variable.
  geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad
  control request. Add check for NULL pointer in gctl_dump(), since it
  can be NULL when geom_alloc_copyin() failed.

MFC r261089:
  Remove another unneeded NULL check from geom_alloc_copyin().
  Do copyout in case of gctl version mismatch and fix sbuf leak in
  g_ctl_ioctl_ctl().

MFC r261091:
  Always free sbuf in gctl_free().


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261286 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 261216:
Explicitly enable I/O and memory decoding in the bridge's command register
when activating an I/O or memory window on the CardBus bridge.


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

binutils: add support for Intel SMAP-related instructions

Add support for stac/clac instructions to manipulate the flag
that controls the behaviour of Intel's Supervisor Mode Access
Prevention (SMAP) feature.

Tested by:	dim
Obtained from:	OpenBSD


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261308 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC	r260988, r261034, r261120,  r261235:

ext2fs: Properly the EXT4_EXTENTS and EXT4_INDEX to the inode flags.

In order to support Ext4 extents we need to pass the Ext4 inode flags
without interfering with the chflags. This is better done by using the
i_flag field in the inode and doing proper translation to the linux
ext4 equivalents.

Solve a potential corruption issue in the dirindex code. The dirindex
code can now be renabled as the problems related to it have been
solved.

Suggested by:	bde
Tested by:	kevlo


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

ext2fs: Re-enable reallocblk.

The major corruption issues affecting this code have been fixed.

Tested by:	Mike Ma


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261314 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r261261: Restore the Nx macro.

PR:		186205
Submitted by:	naddy


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261347 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Update link to vendor import instructions


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261360 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Merge sendmail 8.14.8


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261370 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Add new sendmail 8.14.8 file


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261371 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Remove local FreeBSD workaround now that upstream project has a better fix.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261372 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Update for sendmail 8.14.8 import


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261373 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Add missing svn:keywords property to new files


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261374 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Minor changes to force commit these files so new freebsd*.cf files are
     built to use the new sendmail-8.14.8/cf tree.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@261375 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: Note merge of sendmail 8.14.8.


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