iwlwifi: Allow building iwl3945 without iwl4965.
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / Kconfig
index 74243fe9dca4a67146904e7e5c5a55e749d2cc8c..9a25f550fd16461067b029b3c7a4fcf6e458ebb5 100644 (file)
@@ -1,8 +1,27 @@
+config IWLWIFI
+       bool
+       default n
+
+config IWLCORE
+       tristate "Intel Wireless Wifi Core"
+       depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
+       select IWLWIFI
+
+config IWLWIFI_LEDS
+       bool
+       default n
+
+config IWLWIFI_RFKILL
+       boolean "IWLWIFI RF kill support"
+       depends on IWLCORE
+       select RFKILL
+       select RFKILL_INPUT
+
 config IWL4965
        tristate "Intel Wireless WiFi 4965AGN"
-       depends on m && PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
+       depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
        select FW_LOADER
-       default m
+       select IWLCORE
        ---help---
          Select to build the driver supporting the:
 
@@ -10,59 +29,55 @@ config IWL4965
 
          This driver uses the kernel's mac80211 subsystem.
 
-         See <file:Documentation/networking/README.iwlwifi> for
-         information on the capabilities currently enabled in this
-         driver and for tips for debugging any issues or problems.
-
          In order to use this driver, you will need a microcode (uCode)
          image for it. You can obtain the microcode from:
 
                  <http://intellinuxwireless.org/>.
 
-         See the above referenced README.iwlwifi for information on where
-         to install the microcode images.
+         The microcode is typically installed in /lib/firmware. You can
+         look in the hotplug script /etc/hotplug/firmware.agent to
+         determine which directory FIRMWARE_DIR is set to when the script
+         runs.
 
          If you want to compile the driver as a module ( = code which can be
-         inserted in and remvoed from the running kernel whenever you want),
+         inserted in and removed from the running kernel whenever you want),
          say M here and read <file:Documentation/kbuild/modules.txt>.  The
          module will be called iwl4965.ko.
 
-config IWL4965_QOS
-       bool "Enable Wireless QoS in iwl4965 driver"
+config IWL4965_HT
+       bool "Enable 802.11n HT features in iwl4965 driver"
+       depends on EXPERIMENTAL
+       depends on IWL4965
+       ---help---
+         This option enables IEEE 802.11n High Throughput features
+         for the iwl4965 driver.
+
+config IWL4965_LEDS
+       bool "Enable LEDS features in iwl4965 driver"
        depends on IWL4965
-       default y
+       select MAC80211_LEDS
+       select LEDS_CLASS
+       select IWLWIFI_LEDS
        ---help---
-         This option will enable wireless quality of service (QoS) for the
-         iw4965 driver.
+         This option enables LEDS for the iwlwifi drivers
+
 
 config IWL4965_SPECTRUM_MEASUREMENT
-       bool "Enable Spectrum Measurement in iw4965 driver"
+       bool "Enable Spectrum Measurement in iwl4965 driver"
        depends on IWL4965
-       default y
        ---help---
          This option will enable spectrum measurement for the iwl4965 driver.
 
 config IWL4965_SENSITIVITY
        bool "Enable Sensitivity Calibration in iwl4965 driver"
        depends on IWL4965
-       default y
        ---help---
          This option will enable sensitivity calibration for the iwl4965
          driver.
 
-config IWL4965_HT
-       bool "Enable 802.11n HT features in iwl4965 driver"
-       depends on EXPERIMENTAL
-       depends on IWL4965 && MAC80211_HT
-       default n
-       ---help---
-         This option enables IEEE 802.11n High Throughput features
-         for the iwl4965 driver.
-
-config IWL4965_DEBUG
+config IWLWIFI_DEBUG
        bool "Enable full debugging output in iwl4965 driver"
        depends on IWL4965
-       default y
        ---help---
          This option will enable debug tracing output for the iwl4965
          driver.
@@ -86,11 +101,17 @@ config IWL4965_DEBUG
          as the debug information can assist others in helping you resolve
          any problems you may encounter.
 
+config IWLWIFI_DEBUGFS
+        bool "Iwlwifi debugfs support"
+        depends on IWLCORE && IWLWIFI_DEBUG && MAC80211_DEBUGFS
+        ---help---
+         Enable creation of debugfs files for the iwlwifi drivers.
+
 config IWL3945
        tristate "Intel PRO/Wireless 3945ABG/BG Network Connection"
-       depends on m && PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
+       depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
        select FW_LOADER
-       default m
+       select IWLWIFI
        ---help---
          Select to build the driver supporting the:
 
@@ -98,42 +119,38 @@ config IWL3945
 
          This driver uses the kernel's mac80211 subsystem.
 
-         See <file:Documentation/networking/README.iwlwifi> for
-         information on the capabilities currently enabled in this
-         driver and for tips for debugging any issues or problems.
-
          In order to use this driver, you will need a microcode (uCode)
          image for it. You can obtain the microcode from:
 
                  <http://intellinuxwireless.org/>.
 
-         See the above referenced README.iwlwifi for information on where
-         to install the microcode images.
+         The microcode is typically installed in /lib/firmware. You can
+         look in the hotplug script /etc/hotplug/firmware.agent to
+         determine which directory FIRMWARE_DIR is set to when the script
+         runs.
 
          If you want to compile the driver as a module ( = code which can be
-         inserted in and remvoed from the running kernel whenever you want),
+         inserted in and removed from the running kernel whenever you want),
          say M here and read <file:Documentation/kbuild/modules.txt>.  The
          module will be called iwl3945.ko.
 
-config IWL3945_QOS
-       bool "Enable Wireless QoS in iwl3945 driver"
-       depends on IWL3945
-       default y
-       ---help---
-         This option will enable wireless quality of service (QoS) for the
-         iwl3945 driver.
-
 config IWL3945_SPECTRUM_MEASUREMENT
        bool "Enable Spectrum Measurement in iwl3945 drivers"
        depends on IWL3945
-       default y
        ---help---
          This option will enable spectrum measurement for the iwl3945 driver.
 
+config IWL3945_LEDS
+       bool "Enable LEDS features in iwl3945 driver"
+       depends on IWL3945
+       select MAC80211_LEDS
+       select LEDS_CLASS
+       ---help---
+         This option enables LEDS for the iwl3945 driver.
+
 config IWL3945_DEBUG
        bool "Enable full debugging output in iwl3945 driver"
        depends on IWL3945
-       default y
        ---help---
          This option will enable debug tracing output for the iwl3945
          driver.
This page took 0.029198 seconds and 5 git commands to generate.