ath5k: AHB port. Add AHB bus support.
Quoted 11 lines · Wojciech Dubowik
Quoted 1 line
What about such changes compared to original patch? It's then
possible to
Quoted 1 line
compile both modules at the same time. Of course linking won't work
because
Quoted 1 line
I would need to separate functions like in ath9k.
Is there a plan to add a config entry for
ATHEROS_AR231X(or did I miss it?) Someone will one day run theirKconfigchecker and report it missing.
Openwrt has whole implementation but I have no idea why it's not in the official kernel.
Actually the same applies to ath9k because ATHEROS_AR71XX definition needed for AHB is not specified in latest kernel.
http://www.mail-archive.com/[email protected]/msg03660.html
Quoted 20 lines
drivers/net/wireless/ath/ath5k/Kconfig line 8
Quoted 12 lines
drivers/net/wireless/ath/ath5k/Kconfig +3
-1@@ -1,9 +1,11 @@ config ATH5K tristate "Atheros 5xxx wireless cards support" - depends on PCI && MAC80211 + depends on (PCI || ATHEROS_AR231X) && MAC80211 select MAC80211_LEDS select LEDS_CLASS select NEW_LEDS + select ATH5K_AHB if ATHEROS_AR231X + select ATH5K_PCI if PCII like this better, but there probably needs to be a mutual exclusion so that randconfig builds don't break. Then you don't get to build both still, but the resulting
Makefileis a bit more normal. And then if someone shows up saying that they really do have some AR231X device with PCI, then it's more obvious what they need to do to fix it (i.e. separate bus interfaces from core).
Quoted 4 lines
Something like?
selectATH5K_PCIif (PCI && !ATHEROS_AR231X)
or
depends on ((PCI && !ATHEROS_AR231X) || (!PCI &&ATHEROS_AR231X)) ...
I will make it exclusive and post in the the series if there are no more comments.
Wojtek
Quoted 3 lines
Signature · 2 lines
-- Bob Copeland %% www.bobcopeland.com
Quoted 15 lines · On Monday 15 November 2010 16:49:47 Wojciech Dubowik wrote:
Quoted 7 lines · Wojciech Dubowik
Quoted 1 line
What about such changes compared to original patch? It's then
possible to
Quoted 1 line
compile both modules at the same time. Of course linking won't work
Quoted 7 lines
because
Quoted 1 line
I would need to separate functions like in ath9k.
Is there a plan to add a config entry for
ATHEROS_AR231X(or did I miss it?) Someone will one day run theirKconfigchecker and report it missing.
Quoted 6 lines
Openwrt has whole implementation but I have no idea why it's not in the official kernel.
Actually the same applies to ath9k because
ATHEROS_AR71XXdefinition needed for AHB is not specified in latest kernel.
http://www.mail-archive.com/[email protected]/msg03660.html
Support for Atheros AR71xx chips has been submitted for review a couple of days ago: http://www.linux-mips.org/archives/linux-mips/2010-11/msg00085.html
the Kconfig symbol name should be changed accordingly when the patches are accepted.
Quoted 41 lines
Quoted 26 lines
Quoted 8 lines
drivers/net/wireless/ath/ath5k/Kconfig +0
-0@@ -1,9 +1,11 @@ config ATH5K tristate "Atheros 5xxx wireless cards support"drivers/net/wireless/ath/ath5k/Kconfig
Quoted 10 lines
drivers/net/wireless/ath/ath5k/Kconfig +3
-1- depends on PCI && MAC80211 + depends on (PCI || ATHEROS_AR231X) && MAC80211 select MAC80211_LEDS select LEDS_CLASS select NEW_LEDS + select ATH5K_AHB if ATHEROS_AR231X + select ATH5K_PCI if PCII like this better, but there probably needs to be a mutual exclusion so that randconfig builds don't break. Then you don't get to build both still, but the resulting
Makefileis a bit more normal. And then if someone shows up saying that they really do have some AR231X device with PCI, then it's more obvious what they need to do to fix it (i.e. separate bus interfaces from core).Quoted 4 lines
Something like?
selectATH5K_PCIif (PCI && !ATHEROS_AR231X)
or
depends on ((PCI && !ATHEROS_AR231X) || (!PCI &&ATHEROS_AR231X)) ...I will make it exclusive and post in the the series if there are no more comments.
Wojtek
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html