ath9k_hw: Implement AR9003 eeprom callbacks
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
49101676b2
commit
15c9ee7af8
@@ -256,7 +256,9 @@ int ath9k_hw_eeprom_init(struct ath_hw *ah)
|
||||
{
|
||||
int status;
|
||||
|
||||
if (AR_SREV_9287(ah)) {
|
||||
if (AR_SREV_9300_20_OR_LATER(ah))
|
||||
ah->eep_ops = &eep_ar9300_ops;
|
||||
else if (AR_SREV_9287(ah)) {
|
||||
ah->eep_ops = &eep_ar9287_ops;
|
||||
} else if (AR_SREV_9285(ah) || AR_SREV_9271(ah)) {
|
||||
ah->eep_ops = &eep_4k_ops;
|
||||
|
Reference in New Issue
Block a user