Make this build again!


git-svn-id: svn://svn.freebsd.org/base/head@240183 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Tidy up the output quite substantially, making it fit well within
80 columns.

This makes it much easier to use in a shell script, to display a "top"
style output with live rate control data.


git-svn-id: svn://svn.freebsd.org/base/head@240184 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Eliminate unnecessary NULL checks.


git-svn-id: svn://svn.freebsd.org/base/head@240185 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Prevent indent(1) from reformatting this comment, as it contains
a formatting-sensitive table.


git-svn-id: svn://svn.freebsd.org/base/head@240190 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fully initialize the stack-allocated "struct sockaddr_in sa" structure.


git-svn-id: svn://svn.freebsd.org/base/head@240191 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use "e.g.", not "i.e.", to introduce an example.

Obtained from:	NetBSD


git-svn-id: svn://svn.freebsd.org/base/head@240192 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't include a structure containing a flexible array in another
structure.

MFC after:	10 days


git-svn-id: svn://svn.freebsd.org/base/head@240198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Complete and merge the list between Sandy/Ivy bridge of events
that can run on specific PMC.

MFC after:	1 month


git-svn-id: svn://svn.freebsd.org/base/head@240203 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
A few whitespace and comment fixes.


git-svn-id: svn://svn.freebsd.org/base/head@240204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Change the link pointing to more information about the Yarrow algorithm, the
current link points to a irrelevant catchall site.

PR:		docs/171411
Submitted by:	Mark Martinec <Mark.Martinec@ijs.si> (pr), me (patch)
Approved by:	joel (mentor)
MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240205 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove remaining 4.x compat shims.  No resulting changes (verified by
md5).


git-svn-id: svn://svn.freebsd.org/base/head@240209 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
It seems that what the code really meant is that when a write is completed,
do a BUS_DMASYNC_POSTWRITE over the DMA map.  The way it currently is would
only do POSTREAD for read transactions.

Submitted by:	Sascha Wildner
MFC after:	1 month


git-svn-id: svn://svn.freebsd.org/base/head@240210 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use callout(9) instead of timeout(9) to manage timers.


git-svn-id: svn://svn.freebsd.org/base/head@240211 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Supply the pr_ctloutput method for local datagram sockets,
so that setsockopt() and getsockopt() work on them.

This makes 'tools/regression/sockets/unix_cmsg -t dgram'
more successful.


git-svn-id: svn://svn.freebsd.org/base/head@240214 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove useless extra test.

Pointed out by:	Sascha of DragonFly BSD
MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240219 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a '-s <timeout>' option which will display live rate control
statistics.


git-svn-id: svn://svn.freebsd.org/base/head@240223 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add IRQ support to the resource list handling functions.


git-svn-id: svn://svn.freebsd.org/base/head@240224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Correctly mask out the RTS/CTS flags when forming aggregates.

This had the side effect of clearing HAL_TXDESC_CLRDMASK for a bunch of
frames, meaning they'd end up being potentially filtered if there were
an error.  This is fine in the previous world as they'd just be
software retried but now that I'm working on filtered frames, these
descriptors would be endlessly retried until another valid frame would
come along that had CLRDMASK set.


git-svn-id: svn://svn.freebsd.org/base/head@240226 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/master'