2007-10-27 23:44:20

by Nick Kossifidis

[permalink] [raw]
Subject: [PATCH 7/7] ath5k: Warn on partially supported chips

*Warn on partially supported chips (eg. 5414/5424)

These chips need work on PHY part, recently Reyk posted
a workaround so that they can work on 2GHz but i believe
that the problem is related to PHY initialization. Plz
we need help with these...

I did some tests on a 5414 at 5GHz and it seemed to work
but i didn't test it at 2GHz.

I'll try to find one of these and play with.

Changes-licensed-under: ISC
Signed-Off-by: Nick Kossifidis <[email protected]>

---
diff --git a/drivers/net/wireless/ath5k/hw.c b/drivers/net/wireless/ath5k/hw.c
index c95ae4b..ac105c6 100644
--- a/drivers/net/wireless/ath5k/hw.c
+++ b/drivers/net/wireless/ath5k/hw.c
@@ -285,6 +285,11 @@ struct ath5k_hw *ath5k_hw_attach(u16 device, u8 mac_version, void *sc,
goto err_free;
}

+ /* Warn for partially supported chips (unsupported phy etc) */
+ if(srev >= AR5K_SREV_VER_AR2424){
+ printk(KERN_DEBUG "ath5k: Device partially supported.\n");
+ }
+
/* Identify single chip solutions */
if((srev <= AR5K_SREV_VER_AR5414) &&
(srev >= AR5K_SREV_VER_AR2424)) {