iwlwifi: Allow building iwl3945 without iwl4965.
authorJason Riedy <jason@acm.org>
Sun, 27 Apr 2008 22:38:30 +0000 (15:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Apr 2008 22:38:30 +0000 (15:38 -0700)
If IWL3945 ever depends on IWLCORE, the silent, user-invisible
IWLWIFI option can go away.

Signed-off-by: Jason Riedy <jason@acm.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/Makefile
drivers/net/wireless/iwlwifi/Kconfig

index c2642bc1d49bdbb02d09f1424939ab6439926508..2c343aae38d4c95676f92b57974c589a8df4c804 100644 (file)
@@ -56,7 +56,7 @@ obj-$(CONFIG_RTL8187) += rtl8187.o
 
 obj-$(CONFIG_ADM8211)  += adm8211.o
 
-obj-$(CONFIG_IWLCORE)  += iwlwifi/
+obj-$(CONFIG_IWLWIFI)  += iwlwifi/
 obj-$(CONFIG_RT2X00)   += rt2x00/
 
 obj-$(CONFIG_P54_COMMON)       += p54/
index c4e631d14bfe12b5950e3aa3ef5e7d9017ab52db..9a25f550fd16461067b029b3c7a4fcf6e458ebb5 100644 (file)
@@ -1,6 +1,11 @@
+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
@@ -106,6 +111,7 @@ config IWL3945
        tristate "Intel PRO/Wireless 3945ABG/BG Network Connection"
        depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
        select FW_LOADER
+       select IWLWIFI
        ---help---
          Select to build the driver supporting the: