diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2008-02-28 14:40:00 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-07 16:02:57 -0500 |
commit | 8daeef9717598f638e6fa8ea12770173d2dea771 (patch) | |
tree | 2682a62da9039b929a8311ea3851d556bf5e201a /drivers | |
parent | 72e77a8a7921d952bdef2468d9315616eca6b464 (diff) |
ath5k: Add RF2413 srev values
* Add RF2413 srev values and a new entry on ath5k_radio enum for it
since it differs from RF5413 (it's not like 5112-2112).
Changes-licensed-under: ISC
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath5k/ath5k.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath5k/ath5k.h b/drivers/net/wireless/ath5k/ath5k.h index 18223d9833f1..25c8e989d700 100644 --- a/drivers/net/wireless/ath5k/ath5k.h +++ b/drivers/net/wireless/ath5k/ath5k.h | |||
@@ -140,7 +140,8 @@ enum ath5k_radio { | |||
140 | AR5K_RF5110 = 0, | 140 | AR5K_RF5110 = 0, |
141 | AR5K_RF5111 = 1, | 141 | AR5K_RF5111 = 1, |
142 | AR5K_RF5112 = 2, | 142 | AR5K_RF5112 = 2, |
143 | AR5K_RF5413 = 3, | 143 | AR5K_RF2413 = 3, |
144 | AR5K_RF5413 = 4, | ||
144 | }; | 145 | }; |
145 | 146 | ||
146 | /* | 147 | /* |
@@ -168,12 +169,15 @@ struct ath5k_srev_name { | |||
168 | #define AR5K_SREV_VER_AR5212 0x50 | 169 | #define AR5K_SREV_VER_AR5212 0x50 |
169 | #define AR5K_SREV_VER_AR5213 0x55 | 170 | #define AR5K_SREV_VER_AR5213 0x55 |
170 | #define AR5K_SREV_VER_AR5213A 0x59 | 171 | #define AR5K_SREV_VER_AR5213A 0x59 |
172 | #define AR5K_SREV_VER_AR2413 0x78 | ||
173 | #define AR5K_SREV_VER_AR2414 0x79 | ||
171 | #define AR5K_SREV_VER_AR2424 0xa0 | 174 | #define AR5K_SREV_VER_AR2424 0xa0 |
172 | #define AR5K_SREV_VER_AR5424 0xa3 | 175 | #define AR5K_SREV_VER_AR5424 0xa3 |
173 | #define AR5K_SREV_VER_AR5413 0xa4 | 176 | #define AR5K_SREV_VER_AR5413 0xa4 |
174 | #define AR5K_SREV_VER_AR5414 0xa5 | 177 | #define AR5K_SREV_VER_AR5414 0xa5 |
175 | #define AR5K_SREV_VER_AR5416 0xc0 /* ? */ | 178 | #define AR5K_SREV_VER_AR5416 0xc0 /* ? */ |
176 | #define AR5K_SREV_VER_AR5418 0xca | 179 | #define AR5K_SREV_VER_AR5418 0xca |
180 | #define AR5K_SREV_VER_AR2425 0xe2 | ||
177 | 181 | ||
178 | #define AR5K_SREV_RAD_5110 0x00 | 182 | #define AR5K_SREV_RAD_5110 0x00 |
179 | #define AR5K_SREV_RAD_5111 0x10 | 183 | #define AR5K_SREV_RAD_5111 0x10 |
@@ -183,8 +187,9 @@ struct ath5k_srev_name { | |||
183 | #define AR5K_SREV_RAD_5112A 0x35 | 187 | #define AR5K_SREV_RAD_5112A 0x35 |
184 | #define AR5K_SREV_RAD_2112 0x40 | 188 | #define AR5K_SREV_RAD_2112 0x40 |
185 | #define AR5K_SREV_RAD_2112A 0x45 | 189 | #define AR5K_SREV_RAD_2112A 0x45 |
190 | #define AR5K_SREV_RAD_SC0 0x56 /* Found on 2413/2414 */ | ||
186 | #define AR5K_SREV_RAD_SC1 0x63 /* Found on 5413/5414 */ | 191 | #define AR5K_SREV_RAD_SC1 0x63 /* Found on 5413/5414 */ |
187 | #define AR5K_SREV_RAD_SC2 0xa2 /* Found on 2424/5424 */ | 192 | #define AR5K_SREV_RAD_SC2 0xa2 /* Found on 2424-5/5424 */ |
188 | #define AR5K_SREV_RAD_5133 0xc0 /* MIMO found on 5418 */ | 193 | #define AR5K_SREV_RAD_5133 0xc0 /* MIMO found on 5418 */ |
189 | 194 | ||
190 | /* IEEE defs */ | 195 | /* IEEE defs */ |