freebsd-dev/sys/dev/ath/ath_hal
Warner Losh bc391cb2ce The Atheros AR71xx CPUs, when paired with the AR5212 parts, has a bug
that generates a fatal bus trap.  Normally, the chips are setup to do
128 byte DMA bursts, but when on this CPU, they can only safely due
4-byte DMA bursts due to this bug.  Details of the exact nature of the
bug are sketchy, but some can be found at
https://forum.openwrt.org/viewtopic.php?pid=70060 on pages 4, 5 and 6.
There's a small performance penalty associated with this workaround,
so it is only enabled when needed on the Atheros AR71xx platforms.

Unfortunately, this condition is impossible to detect at runtime
without MIPS specific ifdefs.  Rather than cast an overly-broad net
like Linux/OpenWRT dues (which enables this workaround all the time on
MIPS32 platforms), we put this option in the kernel for just the
affected machines.  Sam didn't like this aspect of the patch when he
reviewed it, and I'd love to hear sane proposals on how to fix it :)

Reviewed by:	sam@
2010-05-01 16:36:14 +00:00
..
ar5210 Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5211 Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5212 The Atheros AR71xx CPUs, when paired with the AR5212 parts, has a bug 2010-05-01 16:36:14 +00:00
ar5312 Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5416 Remove svn:executable prop. 2010-04-12 13:46:20 +00:00
ah_debug.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_decode.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_desc.h purge HAL_TXSTAT_ALTRATE; you can figure this out by checking ts_finaltsi 2009-06-13 23:36:54 +00:00
ah_devid.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v1.c Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v1.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v3.c Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
ah_eeprom_v3.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v4k.c Atheros EEPROM version 4K. This version is mostly based on version 1.4. 2009-10-10 22:29:34 +00:00
ah_eeprom_v4k.h Add support for the AR9285 chipset, which is found on many netbooks 2010-01-29 10:10:14 +00:00
ah_eeprom_v14.c remove dead code 2008-12-13 03:49:01 +00:00
ah_eeprom_v14.h Fix TX power problems with AR9285. 2010-02-08 20:12:01 +00:00
ah_eeprom.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_internal.h Introduce ath_hal_setInterrupts(), a macro for ah_setInterrupts(). 2010-03-03 17:42:39 +00:00
ah_regdomain.c Add WorldB SKU. 2009-11-18 18:48:18 +00:00
ah_soc.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah.c Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
ah.h Bring back AR9285 support. This fixes most of the issues and should be 2010-02-15 17:49:49 +00:00