freebsd-skq/sys/contrib
Adrian Chadd 2dc7b713de Work around some rather annoying chip hangs in the AR9331 chip.
If powersave is enabled and there are any transitions to network
or full sleep - even if they're pretty damned brief - eventually
something messes up somewhere and the bus glue between the AR9331
SoC and the AR9331 wifi stops working.  It shows up as stuck DMA
and LOCAL_TIMEOUT interrupts.

Both ath9k and the reference driver does a full chip reset if things
get stuck.

So:

* teach the AR9330 HAL about the force_full_reset option I added a
  couple of years ago;
* if the chip is currently in full-sleep, do a full-reset;
* if TX DMA and/or RX DMA are still enabled (eg, they did get
  stuck during reset) then do a full-reset.

Tested:

* AR9331 SoC, STA mode
2014-08-09 09:12:25 +00:00
..
altq/altq Move new pf includes to the pf directory. The pfvar.h remain 2013-10-27 16:25:57 +00:00
dev Work around some rather annoying chip hangs in the AR9331 chip. 2014-08-09 09:12:25 +00:00
ipfilter/netinet Honour WITH and WITHOUT_INET6_SUPPORT. 2014-08-05 13:01:21 +00:00
libfdt Update to latest git version of dtc to get new dtsv2 support, 2012-07-24 16:29:33 +00:00
ngatm In sys/contrib/ngatm/netnatm/msg/uni_ie.c, fix a few warnings from newer 2012-11-05 19:00:25 +00:00
octeon-sdk Turns out that there really isn't an RTC chip on this board, at all. 2013-05-12 01:29:18 +00:00
rdma/krping Update krping to the latest upstream code. Move all the FreeBSD 2013-10-14 23:02:05 +00:00
v4l Fix build for gcc users by declaring variables for unions in structs which 2013-07-10 10:40:52 +00:00
x86emu Fix decoding of near CALL when address-size prefix (67h) is present. 2014-06-11 20:38:14 +00:00
xz-embedded MFV r262756: 2014-03-05 01:33:15 +00:00