Add descriptive comment.


git-svn-id: svn://svn.freebsd.org/base/head@249786 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
The zfs synctask code restructuring introduced a new bug that makes it
impossible to set quota and reservation on pools lower than version 22.
Problem has been reported and a solution discussed with vendor.

Illumos ZFS issues:
  3739 cannot set zfs quota or reservation on pool version < 22

Reviewed by:	Matthew Ahrens <mahrens@delphix.com>
Reported by:	Steve Wills <swills@FreeBSD.org>
MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@249787 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix error check.

Submitted by: Andrey Chernov (ache@)
MFC after: 3 days


git-svn-id: svn://svn.freebsd.org/base/head@249789 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update trapframe to be consistent with the changes made to regnum.h. This
should fix the booting problems people have been seeing.


git-svn-id: svn://svn.freebsd.org/base/head@249790 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add an option for the GE FES based packet engines. Its board IDs
overlap with the standard ones, so kernels for this family of boards
need the option OCTEON_VENDOR_GEFES.


git-svn-id: svn://svn.freebsd.org/base/head@249791 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add convenience wrapper functions to run callbacks in the context of the
USB explore thread.


git-svn-id: svn://svn.freebsd.org/base/head@249795 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for runtime switching of sample rate for
USB audio devices. Previously the highest sample
rate was unconditionally selected.

Requested by:	Craig Leres <leres@ee.lbl.gov>


git-svn-id: svn://svn.freebsd.org/base/head@249796 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove tautological compare.

PR:		kern/176712
Submitted by:	Hiren Panchasara <hiren.panchasara@gmail.com>
Approved by:	cperciva (mentor)


git-svn-id: svn://svn.freebsd.org/base/head@249797 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make temp, temp1 the same type that they will later be used for.

PR:		kern/176712
Submitted by:	Hiren Panchasara <hiren.panchasara@gmail.com>
Reviewed by:	jmg (earlier version)
Approved by:	cperciva (mentor)


git-svn-id: svn://svn.freebsd.org/base/head@249798 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove always-true conditions from if statement.

PR:		kern/176712
Submitted by:	Hiren Panchasara <hiren.panchasara@gmail.com>
Approved by:	cperciva (mentor)


git-svn-id: svn://svn.freebsd.org/base/head@249799 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Avoid warning about uninitalized variable

PR:		kern/176712
Submitted by:	Hiren Panchasara <hiren.panchasara@gmail.com> (earlier vesion)
Approved by:	cperciva (mentor)


git-svn-id: svn://svn.freebsd.org/base/head@249800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Switch from K&R prototypes to modern C

Reviewed by:	jilles
Approved by:	cperciva (mentor)
MFC After:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@249801 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- sl_find does not modify 'name'
- make the prototype of sl_find match NetBSD

Reviewed by:	jilles
Approved by:	cperciva (mentor)
MFC After:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@249802 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for Intel C600/X79 Series Chipset KT Controller.

PR:		kern/177072
Submitted by:	Kurt Lidl <lidl@pix.net>


git-svn-id: svn://svn.freebsd.org/base/head@249803 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Add the __dead2 attribute since it is a function that never returns
- Add an empty line in usage() according to style(9)

PR:		bin/177076
Submitted by:	Fernando <fernando.apesteguia@gmail.com>
Approved by:	cperciva (mentor)


git-svn-id: svn://svn.freebsd.org/base/head@249804 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Cleanups to touch.c
	- use const where appropriate
	- use static where appropriate
	- use explicit checks checks for error conditions

Reviewed by:	sbruno
Approved by:	cperciva (mentor)
Obtained by:	DragonFlyBSD


git-svn-id: svn://svn.freebsd.org/base/head@249805 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Constify where appropriate.

Reported by:	emaste
Approved by:	cperciva (mentor)
MFC After:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@249806 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix installkernel requiring users/groups defined in CHECK_UIDS
and CHECK_GIDS to exist since r152680. This is only needed for
installworld. The documented procedure of running mergemaster -p
to check for missing users is only needed for installworld, not
for installkernel. This fixes auditdistd incorrectly being
required for installkernel.

PR:		misc/174405
Approved by:	bapt


git-svn-id: svn://svn.freebsd.org/base/head@249807 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Renumber clauses to reduce diffs to other versions

NetBSD, OpenBSD, and Android's Bionic all number the clauses 1 through 3,
so follow suit to make comparison easier.

Acked-by: imp@


git-svn-id: svn://svn.freebsd.org/base/head@249808 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
When doing RFC3042 limited transmit on the first on second
duplicate ACK make sure we actually have new data to send.
This prevents us from sending unneccessary pure ACKs.

Reported by:	Matt Miller <matt@matthewjmiller.net>
Tested by:	Matt Miller <matt@matthewjmiller.net>
MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@249809 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f