blob: e18a9aa7b6ca3d2c854c92a2715d51823a915c99 [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
Bob Copeland0e472252011-01-24 23:32:55 -050043config ATH5K_TRACER
44 bool "Atheros 5xxx tracer"
45 depends on ATH5K
46 depends on EVENT_TRACING
47 ---help---
48 Say Y here to enable tracepoints for the ath5k driver
49 using the kernel tracing infrastructure. Select this
50 option if you are interested in debugging the driver.
51
52 If unsure, say N.
53
Felix Fietkaua0b907e2010-12-02 10:27:16 +010054config ATH5K_AHB
55 bool "Atheros 5xxx AHB bus support"
56 depends on (ATHEROS_AR231X && !PCI)
57 ---help---
58 This adds support for WiSoC type chipsets of the 5xxx Atheros
59 family.
60
61config ATH5K_PCI
62 bool "Atheros 5xxx PCI bus support"
63 depends on (!ATHEROS_AR231X && PCI)
64 ---help---
65 This adds support for PCI type chipsets of the 5xxx Atheros
66 family.