mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 03:11:46 +00:00
156f5a7801
Many developers use "/debug/" or "/debugfs/" or "/sys/kernel/debug/" directory name to mount debugfs filesystem for ftrace according to ./Documentation/tracers/ftrace.txt file. And, three directory names(ex:/debug/, /debugfs/, /sys/kernel/debug/) is existed in kernel source like ftrace, DRM, Wireless, Documentation, Network[sky2]files to mount debugfs filesystem. debugfs means debug filesystem for debugging easy to use by greg kroah hartman. "/sys/kernel/debug/" name is suitable as directory name of debugfs filesystem. - debugfs related reference: http://lwn.net/Articles/334546/ Fix inconsistency of directory name to mount debugfs filesystem. * From Steven Rostedt - find_debugfs() and tracing_files() in this patch. Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com> Acked-by : Inaky Perez-Gonzalez <inaky@linux.intel.com> Reviewed-by : Steven Rostedt <rostedt@goodmis.org> Reviewed-by : James Smart <james.smart@emulex.com> CC: Jiri Kosina <trivial@kernel.org> CC: David Airlie <airlied@linux.ie> CC: Peter Osterlund <petero2@telia.com> CC: Ananth N Mavinakayanahalli <ananth@in.ibm.com> CC: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> CC: Masami Hiramatsu <mhiramat@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
41 lines
1010 B
Plaintext
41 lines
1010 B
Plaintext
config ATH5K
|
|
tristate "Atheros 5xxx wireless cards support"
|
|
depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
|
|
select ATH_COMMON
|
|
select MAC80211_LEDS
|
|
select LEDS_CLASS
|
|
select NEW_LEDS
|
|
---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
|
|
|