d15dd3e5d7
Turns out ath5k and ath9k can share the same helper to allocates RX skbs. We allocate skbs aligned to the cache line size. This requirement seems to have come from AR5210; when this was not done it seems sometimes we'd get bogus data. I'm also told it may have been a performance enhancement consideration. In the end I can't be sure we can remove this on new hardware so just keep this and start sharing it through ath.ko. Make ath9k start using this, ath5k is next. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
23 lines
721 B
Plaintext
23 lines
721 B
Plaintext
menuconfig ATH_COMMON
|
|
tristate "Atheros Wireless Cards"
|
|
depends on WLAN_80211
|
|
depends on CFG80211
|
|
---help---
|
|
This will enable the support for the Atheros wireless drivers.
|
|
ath5k, ath9k and ar9170 drivers share some common code, this option
|
|
enables the common ath.ko module which shares common helpers.
|
|
|
|
For more information and documentation on this module you can visit:
|
|
|
|
http://wireless.kernel.org/en/users/Drivers/ath
|
|
|
|
For information on all Atheros wireless drivers visit:
|
|
|
|
http://wireless.kernel.org/en/users/Drivers/Atheros
|
|
|
|
if ATH_COMMON
|
|
source "drivers/net/wireless/ath/ath5k/Kconfig"
|
|
source "drivers/net/wireless/ath/ath9k/Kconfig"
|
|
source "drivers/net/wireless/ath/ar9170/Kconfig"
|
|
endif
|