MFC r244405:
psm: Support detection of Synaptics touchpad v7.5 and above

Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read
Capabilities" ($02) commands changed: previously constant bytes now
carry variable information.

We now compare those bytes to expected constants only for firmware prior
to v7.5.

Tested by:	Zeus Panchenko <zeus@gnu.org.ua>


git-svn-id: svn://svn.freebsd.org/base/stable/9@244976 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: 234930

Fix so that ,usr and ,os work correctly with fixed function (IAF)
counters.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244999 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r242697,r242704:

r242697:
Add devd.conf(5) and devd(8) to SEE ALSO xrefs.  Give users a pointer to
seemingly mysterious actions that are not done by ifconfig itself, but
by devd triggering on events caused by ifconfig.

r242704:
Remove fifteen-year-old notes on media selection (suggested by simon@).
Add commas after "e.g." and "i.e.".

PR:		docs/173405


git-svn-id: svn://svn.freebsd.org/base/stable/9@245008 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r244331
Fix the gssd daemon so that it uses syslog() to report
an error instead of calling err() when it is daemonized,
so that the error gets logged.


git-svn-id: svn://svn.freebsd.org/base/stable/9@245016 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r244370
Piete.Brooks at cl.cam.ac.uk reported via email a crash which was
caused by use of an invalid kgss_gssd_handle during an upcall to
the gssd daemon when it has exited. This patch seems to avoid the
crashes by holding a reference count on the kgss_gssd_handle until
the upcall is done. It also adds a new mutex kgss_gssd_lock used to
make manipulation of kgss_gssd_handle SMP safe.


git-svn-id: svn://svn.freebsd.org/base/stable/9@245018 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r244447
Post r243965 the nfsd daemon will not start up for kernels
built without "options INET6". This patch fixes the problem.


git-svn-id: svn://svn.freebsd.org/base/stable/9@245019 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 244776, 244792:

gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0xffffffff).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Thanks to Christoph Mallon for pointing out a correct fix.


git-svn-id: svn://svn.freebsd.org/base/stable/9@245023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC	r244941:

libedit: bind the correct command when using "bind -k".

"ed-argument-digit" (i. e. command 0) was incorrectly used
instead.
This bug comes from the original sources imported in 1994
and has been confirmed in upstream NetBSD.

Reported by:	Yamagi Burmeister
Submitted by:	Christoph Mallon


git-svn-id: svn://svn.freebsd.org/base/stable/9@245025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r234047 by bjk:

Fix a couple of style issues. Tweak grammar and markup while here.


git-svn-id: svn://svn.freebsd.org/base/stable/9@245037 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243372:

Disallow attaching preloaded memory disks via ioctl.

- The feature is dangerous because the kernel code didn't check
  validity of the memory address provided from user space.
- It seems that mdconfig(8) never really supported attaching preloaded
  memory disks.
- Preloaded memory disks are automatically attached during md(4)
  initialization. Thus there shouldn't be much use for the feature.

PR:		kern/169683


git-svn-id: svn://svn.freebsd.org/base/stable/9@245038 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/svn_stable_9' into svn_stable_9