blob: e0793319389d19a7aa27b52a3346f30bb68366cc [file] [log] [blame]
Luis R. Rodrigueze9ddc0f2008-02-04 09:56:32 -05001config ATH5K
2 tristate "Atheros 5xxx wireless cards support"
Felix Fietkaua0b907e2010-12-02 10:27:16 +01003 depends on (PCI || ATHEROS_AR231X) && MAC80211
Bob Copeland3a078872008-06-25 22:35:28 -04004 select MAC80211_LEDS
5 select LEDS_CLASS
6 select NEW_LEDS
Bruno Randolfeef39be2010-11-16 10:58:43 +09007 select AVERAGE
Felix Fietkaua0b907e2010-12-02 10:27:16 +01008 select ATH5K_AHB if (ATHEROS_AR231X && !PCI)
9 select ATH5K_PCI if (!ATHEROS_AR231X && PCI)
Luis R. Rodrigueze9ddc0f2008-02-04 09:56:32 -050010 ---help---
11 This module adds support for wireless adapters based on
12 Atheros 5xxx chipset.
13
14 Currently the following chip versions are supported:
15
16 MAC: AR5211 AR5212
17 PHY: RF5111/2111 RF5112/2112 RF5413/2413
18
19 This driver uses the kernel's mac80211 subsystem.
20
21 If you choose to build a module, it'll be called ath5k. Say M if
22 unsure.
Luis R. Rodriguezb4461972008-02-04 10:03:54 -050023
24config ATH5K_DEBUG
25 bool "Atheros 5xxx debugging"
26 depends on ATH5K
27 ---help---
28 Atheros 5xxx debugging messages.
29
30 Say Y, if and you will get debug options for ath5k.
31 To use this, you need to mount debugfs:
32
GeunSik Lim156f5a72009-06-02 15:01:37 +090033 mount -t debugfs debug /sys/kernel/debug
Luis R. Rodriguezb4461972008-02-04 10:03:54 -050034
35 You will get access to files under:
GeunSik Lim156f5a72009-06-02 15:01:37 +090036 /sys/kernel/debug/ath5k/phy0/
Luis R. Rodriguezb4461972008-02-04 10:03:54 -050037
38 To enable debug, pass the debug level to the debug module
39 parameter. For example:
40
41 modprobe ath5k debug=0x00000400
42
Felix Fietkaua0b907e2010-12-02 10:27:16 +010043config ATH5K_AHB
44 bool "Atheros 5xxx AHB bus support"
45 depends on (ATHEROS_AR231X && !PCI)
46 ---help---
47 This adds support for WiSoC type chipsets of the 5xxx Atheros
48 family.
49
50config ATH5K_PCI
51 bool "Atheros 5xxx PCI bus support"
52 depends on (!ATHEROS_AR231X && PCI)
53 ---help---
54 This adds support for PCI type chipsets of the 5xxx Atheros
55 family.