sh: Add tests for modifying an alias (r242766).

Note: parser/alias10.0 will eat a lot of memory/cpu time when it fails (with
the old sh).


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242767 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make the USB ethernet methods constant again in if_udav.c,
so that both adapter variants can be attached at the same
time.

MFC after:	0 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242777 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Convert this to a debug printf; it's working fine now.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242778 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Implement the ATH_RESET_NOLOSS path for TX stop and start; this is needed
for 802.11n TX device restarting.

Remove the debug printf()s; they're no longer needed here.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242779 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Oops, fix bogus spacing.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242780 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add my initial cut at driver-layer ALQ support.

I'm using this to debug EDMA TX and RX descriptors and it's really helpful
to have a non-printf() way to decode frames.

I won't link this into the build until I've tidied it up a little more.

This will eventually be behind ATH_DEBUG_ALQ.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242781 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add some hooks into the driver to attach, detach and record EDMA descriptor
events.

This is primarily for the TX EDMA and TX EDMA completion. I haven't yet
tied it into the EDMA RX path or the legacy TX/RX path.

Things that I don't quite like:

* Make the pointer type 'void' in ath_softc and have if_ath_alq*()
  return a malloc'ed buffer.  That would remove the need to include
  if_ath_alq.h in if_athvar.h.
* The sysctl setup needs to be cleaned up.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242782 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Not only load pccard_ether settings, also load network settings. This
is only a problem when a /etc/rc.conf.d/network file is being used.

PR:		conf/160373
Submitted by:	n_hibma
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix the build - fix up the ath_alq code to not compile by default.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242803 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Shrink boot2 by 8 bytes, by eliminating some unneeded instructions in
sio.S.  This is not particularly needed for head right now, but it is
intended to merge to stable/9, to fix boot2 build with clang there.

Reviewed by:	avg
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242804 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Replace spaces with tabs where appropriate.

Reminded by: jh@


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242807 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Replace spaces by tabs where appropriate.

Reminded by: jh@


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242808 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix a very incorrect description.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242813 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for Advantech PCI-1602 RS-485/RS-422 serial card

PR:		kern/169726
Submitted by:	Jan Mikkelsen <janm@transactionware.com>
Approved by:	cperciva (implicit)
MFC after:	5 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242814 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
 - Correct rev 242734, segments can sometimes get stuck.  Be a bit more
   defensive with segment state.

Reported by:	 b. f. <bf1783@googlemail.com>


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242815 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Belatedly (by many years!) bump the version numbers in the src/-side
documentation pages.

Saddened by:	this file


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242816 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Give panic format string to pacify clang warning.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242823 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove unused static mn_timeout.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242824 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Cast VIA_READ to (void) where the result is unused.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@242825 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Give device_printf format string to pacify clang warning.


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