docs: kbuild: convert docs to ReST and rename to *.rst
[linux-2.6-block.git] / drivers / net / wireless / intel / iwlegacy / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
d3175167 2config IWLEGACY
4a39e781 3 tristate
be663ab6
WYG
4 select FW_LOADER
5 select NEW_LEDS
6 select LEDS_CLASS
7 select LEDS_TRIGGERS
8 select MAC80211_LEDS
9
be663ab6
WYG
10config IWL4965
11 tristate "Intel Wireless WiFi 4965AGN (iwl4965)"
4a39e781 12 depends on PCI && MAC80211
d3175167 13 select IWLEGACY
be663ab6
WYG
14 ---help---
15 This option enables support for
16
17 Select to build the driver supporting the:
18
19 Intel Wireless WiFi Link 4965AGN
20
21 This driver uses the kernel's mac80211 subsystem.
22
23 In order to use this driver, you will need a microcode (uCode)
24 image for it. You can obtain the microcode from:
25
26 <http://intellinuxwireless.org/>.
27
28 The microcode is typically installed in /lib/firmware. You can
29 look in the hotplug script /etc/hotplug/firmware.agent to
30 determine which directory FIRMWARE_DIR is set to when the script
31 runs.
32
33 If you want to compile the driver as a module ( = code which can be
34 inserted in and removed from the running kernel whenever you want),
cd238eff 35 say M here and read <file:Documentation/kbuild/modules.rst>. The
be663ab6
WYG
36 module will be called iwl4965.
37
38config IWL3945
39 tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)"
4a39e781 40 depends on PCI && MAC80211
d3175167 41 select IWLEGACY
be663ab6
WYG
42 ---help---
43 Select to build the driver supporting the:
44
45 Intel PRO/Wireless 3945ABG/BG Network Connection
46
47 This driver uses the kernel's mac80211 subsystem.
48
49 In order to use this driver, you will need a microcode (uCode)
50 image for it. You can obtain the microcode from:
51
52 <http://intellinuxwireless.org/>.
53
54 The microcode is typically installed in /lib/firmware. You can
55 look in the hotplug script /etc/hotplug/firmware.agent to
56 determine which directory FIRMWARE_DIR is set to when the script
57 runs.
58
59 If you want to compile the driver as a module ( = code which can be
60 inserted in and removed from the running kernel whenever you want),
cd238eff 61 say M here and read <file:Documentation/kbuild/modules.rst>. The
be663ab6 62 module will be called iwl3945.
64992149 63
08db1ab7 64menu "iwl3945 / iwl4965 Debugging Options"
64992149
GD
65 depends on IWLEGACY
66
67config IWLEGACY_DEBUG
68 bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers"
69 depends on IWLEGACY
70 ---help---
71 This option will enable debug tracing output for the iwlegacy
72 drivers.
73
74 This will result in the kernel module being ~100k larger. You can
75 control which debug output is sent to the kernel log by setting the
76 value in
77
78 /sys/class/net/wlan0/device/debug_level
79
80 This entry will only exist if this option is enabled.
81
82 To set a value, simply echo an 8-byte hex value to the same file:
83
84 % echo 0x43fff > /sys/class/net/wlan0/device/debug_level
85
86 You can find the list of debug mask values in:
87 drivers/net/wireless/iwlegacy/common.h
88
89 If this is your first time using this driver, you should say Y here
90 as the debug information can assist others in helping you resolve
91 any problems you may encounter.
92
93config IWLEGACY_DEBUGFS
94 bool "iwlegacy (iwl 3945/4965) debugfs support"
95 depends on IWLEGACY && MAC80211_DEBUGFS
96 ---help---
97 Enable creation of debugfs files for the iwlegacy drivers. This
98 is a low-impact option that allows getting insight into the
99 driver's state at runtime.
100
101endmenu