mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
164a974889
- Use config symbol defined in the driver instead of arch specific one for conditional compilation. - Rename the ATHEROS_AR231X config symbol to ATH25. - Fix include (ar231x_platform.h -> ath25_platform.h). - Some of AR231x SoCs (e.g. AR2315) have PCI bus support, so remove !PCI dependency, which block AHB support build. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Acked-by: John W. Linville <linville@tuxdriver.com> Cc: Jiri Slaby <jirislaby@gmail.com> Cc: Nick Kossifidis <mickflemm@gmail.com> Cc: "Luis R. Rodriguez" <mcgrof@do-not-panic.com> Cc: linux-wireless@vger.kernel.org Cc: ath5k-devel@lists.ath5k.org Cc: Linux MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/8248/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
76 lines
1.9 KiB
Plaintext
76 lines
1.9 KiB
Plaintext
config ATH5K
|
|
tristate "Atheros 5xxx wireless cards support"
|
|
depends on (PCI || ATH25) && MAC80211
|
|
select ATH_COMMON
|
|
select MAC80211_LEDS
|
|
select LEDS_CLASS
|
|
select NEW_LEDS
|
|
select AVERAGE
|
|
select ATH5K_AHB if ATH25
|
|
select ATH5K_PCI if !ATH25
|
|
---help---
|
|
This module adds support for wireless adapters based on
|
|
Atheros 5xxx chipset.
|
|
|
|
Currently the following chip versions are supported:
|
|
|
|
MAC: AR5211 AR5212
|
|
PHY: RF5111/2111 RF5112/2112 RF5413/2413
|
|
|
|
This driver uses the kernel's mac80211 subsystem.
|
|
|
|
If you choose to build a module, it'll be called ath5k. Say M if
|
|
unsure.
|
|
|
|
config ATH5K_DEBUG
|
|
bool "Atheros 5xxx debugging"
|
|
depends on ATH5K
|
|
---help---
|
|
Atheros 5xxx debugging messages.
|
|
|
|
Say Y, if and you will get debug options for ath5k.
|
|
To use this, you need to mount debugfs:
|
|
|
|
mount -t debugfs debug /sys/kernel/debug
|
|
|
|
You will get access to files under:
|
|
/sys/kernel/debug/ath5k/phy0/
|
|
|
|
To enable debug, pass the debug level to the debug module
|
|
parameter. For example:
|
|
|
|
modprobe ath5k debug=0x00000400
|
|
|
|
config ATH5K_TRACER
|
|
bool "Atheros 5xxx tracer"
|
|
depends on ATH5K
|
|
depends on EVENT_TRACING
|
|
---help---
|
|
Say Y here to enable tracepoints for the ath5k driver
|
|
using the kernel tracing infrastructure. Select this
|
|
option if you are interested in debugging the driver.
|
|
|
|
If unsure, say N.
|
|
|
|
config ATH5K_AHB
|
|
bool "Atheros 5xxx AHB bus support"
|
|
depends on ATH25
|
|
---help---
|
|
This adds support for WiSoC type chipsets of the 5xxx Atheros
|
|
family.
|
|
|
|
config ATH5K_PCI
|
|
bool "Atheros 5xxx PCI bus support"
|
|
depends on (!ATH25 && PCI)
|
|
---help---
|
|
This adds support for PCI type chipsets of the 5xxx Atheros
|
|
family.
|
|
|
|
config ATH5K_TEST_CHANNELS
|
|
bool "Enables testing channels on ath5k"
|
|
depends on ATH5K && CFG80211_CERTIFICATION_ONUS
|
|
---help---
|
|
This enables non-standard IEEE 802.11 channels on ath5k, which
|
|
can be used for research purposes. This option should be disabled
|
|
unless doing research.
|