MFC r268354:
Improve support for Intel Lynx Point USB 3.0 controllers by masking
the port routing bits like done in Linux.


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

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR:		189156
Submitted by:	Garrett Cooper <yanegomi@gmail.com>


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268618 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r268383:
Correct si_code for the SIGBUS signal generated by the alignment trap.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268662 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r268385:
Make this compilable on latest Linux'es without warnings.


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

Fix syntax error.


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

Fix spelling, typos, missing articles, contractions.  Expanded version
of patch supplied with PR.


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

Improve markup, change references to nonexistent vt_vga(4), remove some
language redundancy, and move the examples so sections are in the
standard order.


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

Make synopsis version of -3 flag match other uses in the page.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r268582:
Fix performance problems with AXGE network adapter in RX direction:
- Remove 4 extra bytes from the ethernet payload.
- The maximum RX buffer was incorrectly set. Increase it to 64K for
now, until the exact limit is understood.
- Enable hardware checksumming again.
- Make hardware data structure packed.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r268583:
Turn off blinking device leds at attach.

PR:		183735


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268739 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r268467:
Implement sysconf(_SC_GETGR_R_SIZE_MAX) and sysconf(_SC_GETPW_R_SIZE_MAX).


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r268471:
For safety, ensure that any consumer of the set_regs() and
ptrace_set_pc() use the correct return to userspace using iret.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268744 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r268292 from head:
  Dominion Day became Canada Day in 1982, update the holiday calendar.

PR:		191533
Submitted by:	db


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268753 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r268295 from head:
  Fix equation and limerick to be correct.  NetBSD fixed this 14 years ago
  (src/games/fortune/datfiles/fortunes2 1.7).

PR:		188714
Submitted by:	ksmakoto dd.iij4u.or.jp


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268754 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r267865 from head:
  Drop example variables for updating over csup.  These have not functioned
  since r252305.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268757 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r267866 from head:
  Drop references to updating over csup from build(7).


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r268298,r268299 from head:
  Correct format string to fix build of uhsoctl when DEBUG is defined

PR:		185007
Submitted by:	saper saper.info


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268761 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC	r268502:
Sync some (mostly cosmetical) changes from NetBSD

Makefile,v 1.37
tc1.c v 1.3
Rename TEST/test.c tc1.c

common.c,v 1.23
pass lint on _LP64.

emacs.c,v 1.22
pass lint on _LP64.

filecomplete.h,v 1.8
mv NetBSD ID back from 1.9 as we don't
have the widecharacter support.

prompt.c,v 1.14
prompt.h,v 1.9
term.h,v 1.20
read.h,v 1.6
Update NetBSD version strings

sys.h,v 1.12
Misc sun stuff.

tty.c 1.31
handle EINTR in the termios operations
Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
using multiple EditLine objects.
pass lint on _LP64.
Don't depend on side effects inside an assert

Obtained from:	NetBSD


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268783 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC	r268628, r268631, r268635:

Convert *rootDir from external to static.

fsck_msdosfs: be a bit more permissive.

The free space value in the FSInfo block is merely unitialized when it is
0xffffffff. This fixes a bug found in NetBSD.

Respect FSFIXFAT.

Fix some whitespace issues while here.

Obtained from:	NetBSD (CVS rev. 1.22, rev. 1.9), OpenBSD (misc)


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@268785 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
 MFC r263749,267146:

>r267146 | imp | 2014-06-05 22:08:55 -0600 (Thu, 05 Jun 2014) | 4 lines
>Restore comments accidentally removed.

>r263749 | imp | 2014-03-25 16:08:31 -0600 (Tue, 25 Mar 2014) | 18 lines
>Rather than require a makeoptions DEBUG to get debug correct,
>add it in kern.mk, but only if we're using clang. While this
>option is supported by both clang and gcc, in the future there
>may be changes to clang which change the defaults that require
>a tweak to build our kernel such that other tools in our tree
>will work. Set a good example by forcing -gdwarf-2 only for
>clang builds, and only if the user hasn't specified another
>dwarf level already. Update UPDATING to reflect the changed
>state of affairs. This also keeps us from having to update
>all the ARM kernels to add this, and also keeps us from
>in the future having to update all the MIPS kernels and is
>one less place the user will have to know to do something
>special for clang and one less thing developers will need
>to do when moving an architecture to clang.

Note: Due to the funkadellic way we used to do merges, I've made a
direct commit of the relevant text to UPDATING with no merge info
being recorded for it so I could commit it at the same time as the
other files.


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