1203c4805SLuis R. Rodriguezconfig ATH5K 2203c4805SLuis R. Rodriguez tristate "Atheros 5xxx wireless cards support" 3a0b907eeSFelix Fietkau depends on (PCI || ATHEROS_AR231X) && MAC80211 4203c4805SLuis R. Rodriguez select MAC80211_LEDS 5203c4805SLuis R. Rodriguez select LEDS_CLASS 6203c4805SLuis R. Rodriguez select NEW_LEDS 7eef39befSBruno Randolf select AVERAGE 8a0b907eeSFelix Fietkau select ATH5K_AHB if (ATHEROS_AR231X && !PCI) 9a0b907eeSFelix Fietkau select ATH5K_PCI if (!ATHEROS_AR231X && PCI) 10203c4805SLuis R. Rodriguez ---help--- 11203c4805SLuis R. Rodriguez This module adds support for wireless adapters based on 12203c4805SLuis R. Rodriguez Atheros 5xxx chipset. 13203c4805SLuis R. Rodriguez 14203c4805SLuis R. Rodriguez Currently the following chip versions are supported: 15203c4805SLuis R. Rodriguez 16203c4805SLuis R. Rodriguez MAC: AR5211 AR5212 17203c4805SLuis R. Rodriguez PHY: RF5111/2111 RF5112/2112 RF5413/2413 18203c4805SLuis R. Rodriguez 19203c4805SLuis R. Rodriguez This driver uses the kernel's mac80211 subsystem. 20203c4805SLuis R. Rodriguez 21203c4805SLuis R. Rodriguez If you choose to build a module, it'll be called ath5k. Say M if 22203c4805SLuis R. Rodriguez unsure. 23203c4805SLuis R. Rodriguez 24203c4805SLuis R. Rodriguezconfig ATH5K_DEBUG 25203c4805SLuis R. Rodriguez bool "Atheros 5xxx debugging" 26203c4805SLuis R. Rodriguez depends on ATH5K 27203c4805SLuis R. Rodriguez ---help--- 28203c4805SLuis R. Rodriguez Atheros 5xxx debugging messages. 29203c4805SLuis R. Rodriguez 30203c4805SLuis R. Rodriguez Say Y, if and you will get debug options for ath5k. 31203c4805SLuis R. Rodriguez To use this, you need to mount debugfs: 32203c4805SLuis R. Rodriguez 33156f5a78SGeunSik Lim mount -t debugfs debug /sys/kernel/debug 34203c4805SLuis R. Rodriguez 35203c4805SLuis R. Rodriguez You will get access to files under: 36156f5a78SGeunSik Lim /sys/kernel/debug/ath5k/phy0/ 37203c4805SLuis R. Rodriguez 38203c4805SLuis R. Rodriguez To enable debug, pass the debug level to the debug module 39203c4805SLuis R. Rodriguez parameter. For example: 40203c4805SLuis R. Rodriguez 41203c4805SLuis R. Rodriguez modprobe ath5k debug=0x00000400 42203c4805SLuis R. Rodriguez 43*0e472252SBob Copelandconfig ATH5K_TRACER 44*0e472252SBob Copeland bool "Atheros 5xxx tracer" 45*0e472252SBob Copeland depends on ATH5K 46*0e472252SBob Copeland depends on EVENT_TRACING 47*0e472252SBob Copeland ---help--- 48*0e472252SBob Copeland Say Y here to enable tracepoints for the ath5k driver 49*0e472252SBob Copeland using the kernel tracing infrastructure. Select this 50*0e472252SBob Copeland option if you are interested in debugging the driver. 51*0e472252SBob Copeland 52*0e472252SBob Copeland If unsure, say N. 53*0e472252SBob Copeland 54a0b907eeSFelix Fietkauconfig ATH5K_AHB 55a0b907eeSFelix Fietkau bool "Atheros 5xxx AHB bus support" 56a0b907eeSFelix Fietkau depends on (ATHEROS_AR231X && !PCI) 57a0b907eeSFelix Fietkau ---help--- 58a0b907eeSFelix Fietkau This adds support for WiSoC type chipsets of the 5xxx Atheros 59a0b907eeSFelix Fietkau family. 60a0b907eeSFelix Fietkau 61a0b907eeSFelix Fietkauconfig ATH5K_PCI 62a0b907eeSFelix Fietkau bool "Atheros 5xxx PCI bus support" 63a0b907eeSFelix Fietkau depends on (!ATHEROS_AR231X && PCI) 64a0b907eeSFelix Fietkau ---help--- 65a0b907eeSFelix Fietkau This adds support for PCI type chipsets of the 5xxx Atheros 66a0b907eeSFelix Fietkau family. 67