Remove a now incorrect comment.

This comment dates back to my initial stab at TX aggregation completion,
where I didn't even bother trying to do software retries.


git-svn-id: svn://svn.freebsd.org/base/head@248312 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make this more compilable.


git-svn-id: svn://svn.freebsd.org/base/head@248314 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make m_get2() never use clusters that are bigger than PAGE_SIZE.

Requested by:	andre, jhb
Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248315 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Use m_get2() instead of hand allocating.
- No need for u_int cast here.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248316 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use m_get2() + m_align() instead of hand made key_alloc_mbuf(). Code
examination shows, that although key_alloc_mbuf() could return chains,
the callers never use chains, so m_get2() should suffice.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248317 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use m_get() and m_getcl() instead of compat macros.


git-svn-id: svn://svn.freebsd.org/base/head@248318 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Implement the helper function vn_io_fault_pgmove(), intended to use by
the filesystem VOP_READ() and VOP_WRITE() implementations in the same
way as vn_io_fault_uiomove() over the unmapped buffers.  Helper
provides the convenient wrapper over the pmap_copy_pages() for struct
uio consumers, taking care of the TDP_UIOHELD situations.

Sponsored by:	The FreeBSD Foundation
Tested by:	pho
MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@248319 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use m_getcl() instead of hand made allocation.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248320 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Use m_getcl() instead of hand allocating.
- Use m_get()/m_gethdr() instead of macros.
- Remove superfluous cleaning of mbuf fields after allocation.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248321 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Use m_getcl() instead of hand allocating.
- Convert panic() to KASSERT.
- Remove superfluous cleaning of mbuf fields after allocation.
- Add comment on possible use of m_get2() here.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248322 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Use m_getcl() instead of hand allocating.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248323 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use m_get/m_gethdr instead of compat macros.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248324 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add my copyright for the 2012 year work, in particular vn_io_fault()
and f_offset locking.  Add required Foundation notice for r248319.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@248325 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
We can, and should use M_WAITOK here.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248326 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Use m_getcl() instead of hand allocating.
- Do not calculate constant length values at run time,
  CTASSERT() their sanity.
- Remove superfluous cleaning of mbuf fields after allocation.
- Replace compat macros with function calls.

Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248328 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Separate the copyright lines and the informational block by a blank line.

Requested by:	joel
MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@248329 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for Exar XR17V358 8-port serial device to puc(4)

Reviewed by:	marius
Sponsored by:	Sandvine Inc.
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@248340 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix two bugs:

* when pulling frames off of the TID queue, the ATH_TID_REMOVE()
  macro decrements the axq_depth field.  So don't do it twice.

* in ath_tx_comp_cleanup_aggr(), bf wasn't being reset to bf_first
  before walking the buffer list to complete buffers; so those buffers
  will leak.


git-svn-id: svn://svn.freebsd.org/base/head@248341 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a few examples.

Obtained from:	OpenBSD


git-svn-id: svn://svn.freebsd.org/base/head@248342 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Why'd I keep this here? remove it entirely now.


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