freebsd-dev/sys/dev/ath/ath_hal/ar5416
Adrian Chadd d2615832bf Fix up the chipset checks for the AR5416 and later silicon.
The checks should function as follows:

* AR_SREV_<silicon> : check macVersion matches that version id
* AR_SREV_<silicon>_<revision> : check macVersion and macRevision match
    the version / revision respectively

* AR_SREV_<silicon>_<revision>_OR_LATER: check that
  + if the chip silicon version == macVersion, enforce revision >= macRevision
  + if the chip silicon version > macVersion, allow it.

For example, AR_SREV_MERLIN() only matches AR9280 (any revision),
AR_SREV_MERLIN_10() would only match AR9280 version 1.0, but
AR_SREV_MERLIN_20_OR_LATER() matches AR9280 version >= 2.0 _AND_
any subsequent MAC (So AR9285, AR9287, etc.)

The specific fixes which may impact users:

* if there is Merlin hardware > revision 2.0, it'll now be correctly
  matched by AR_SREV_MERLIN_20_OR_LATER() - the older code simply
  would match on either Merlin 2.0 or a subsequent MAC (AR9285, AR9287, etc.)

* Kite version 1.1/1.2 should now correctly match. As these macros
  are used in the AR9285 reset/attach path, and it's assumed that the
  hardware is kite anyway, the behaviour shouldn't change. It'll only
  change if these macros are used in other codepaths shared with
  older silicon.

Obtained from:	Linux ath9k, Atheros
2011-05-05 03:42:04 +00:00
..
ar2133.c Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL. 2011-04-28 12:47:40 +00:00
ar5416_ani.c The AR5416+ chips all have MIB counters (which the AR5416 ANI code assumes) 2011-03-23 03:58:55 +00:00
ar5416_attach.c Break out the PLL setup into an overridable method. 2011-04-24 15:53:57 +00:00
ar5416_beacon.c Replace Id keyword with the FreeBSD keyword. 2010-01-29 10:07:17 +00:00
ar5416_cal_adcdc.c Replace Id keyword with the FreeBSD keyword. 2010-01-29 10:07:17 +00:00
ar5416_cal_adcgain.c Replace Id keyword with the FreeBSD keyword. 2010-01-29 10:07:17 +00:00
ar5416_cal_iq.c Fix the calibration logic to correctly clamp the calculated coefficient. 2010-08-14 15:28:15 +00:00
ar5416_cal.c Export the per-chain ctl/ext noise floor values, raw and uncut, to the 2011-04-08 06:58:01 +00:00
ar5416_cal.h Introduce methods for the initial calibration and the new PA calibration 2011-03-11 11:35:36 +00:00
ar5416_eeprom.c Replace Id keyword with the FreeBSD keyword. 2010-01-29 10:07:17 +00:00
ar5416_gpio.c Add support for the AR9285 chipset, which is found on many netbooks 2010-01-29 10:10:14 +00:00
ar5416_interrupts.c Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL. 2011-04-28 12:47:40 +00:00
ar5416_keycache.c Replace Id keyword with the FreeBSD keyword. 2010-01-29 10:07:17 +00:00
ar5416_misc.c Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL. 2011-04-28 12:47:40 +00:00
ar5416_phy.c Modify the AR5416 11na rate table to use 24mb OFDM 11a for control traffic, 2011-02-21 05:10:34 +00:00
ar5416_power.c Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL. 2011-04-28 12:47:40 +00:00
ar5416_recv.c Add a HAL capability bit for supporting self-linked RX descriptors and disable it for the 11n chipsets. 2011-04-04 14:52:31 +00:00
ar5416_reset.c Import some HOWL (AR9130) related fixes from Atheros. 2011-05-05 02:59:31 +00:00
ar5416_xmit.c Bring over a few queue changes from ath9k: 2011-03-22 00:14:17 +00:00
ar5416.h Break out the PLL setup into an overridable method. 2011-04-24 15:53:57 +00:00
ar5416.ini Bring over ar5416 inivals from Linux-2.6.34. 2010-08-10 07:48:13 +00:00
ar5416desc.h Replace Id keyword with the FreeBSD keyword. 2010-01-29 10:07:17 +00:00
ar5416phy.h Add in some AR9280 specific board configuration options. 2011-02-07 22:00:31 +00:00
ar5416reg.h Fix up the chipset checks for the AR5416 and later silicon. 2011-05-05 03:42:04 +00:00