summaryrefslogtreecommitdiffstats
path: root/sys/dev/snp
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-05-05 03:42:04 +0000
committeradrian <adrian@FreeBSD.org>2011-05-05 03:42:04 +0000
commit08029191f9132e7dd5d2ea0367a950ec2c1f0bb4 (patch)
treee865b3c9e8435d945ba44a4b7d764b3ad9aa3338 /sys/dev/snp
parent95651f0cfe86152dd6db2f606db5c936f43908e4 (diff)
downloadFreeBSD-src-08029191f9132e7dd5d2ea0367a950ec2c1f0bb4.zip
FreeBSD-src-08029191f9132e7dd5d2ea0367a950ec2c1f0bb4.tar.gz
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
Diffstat (limited to 'sys/dev/snp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud