login
Header Space

 
 

[PATCH] Allow building iwl3945 without iwl4965.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Zhu Yi <yi.zhu@...>, David S. Miller <davem@...>
Cc: <netdev@...>
Date: Saturday, April 26, 2008 - 6:27 pm

If IWL3945 ever depends on IWLCORE, the silent, user-invisible
IWLWIFI option can go away.

Signed-off-by: Jason Riedy <jason@acm.org>
---
   The breakage made it to Linus's tree but isn't in the wireless forest
   (as far as I can see).  Commit 49186b4a083655 is a "part 2" without
   a "part 1", so perhaps that "part 1" avoided the problem?

 drivers/net/wireless/Makefile        |    2 +-
 drivers/net/wireless/iwlwifi/Kconfig |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile
index c2642bc..2c343aa 100644
--- a/drivers/net/wireless/Makefile
+++ b/drivers/net/wireless/Makefile
@@ -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/
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig
index c4e631d..9a25f55 100644
--- a/drivers/net/wireless/iwlwifi/Kconfig
+++ b/drivers/net/wireless/iwlwifi/Kconfig
@@ -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:
 
-- 
1.5.5.rc1.121.g1594

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Allow building iwl3945 without iwl4965., Jason Riedy, (Sat Apr 26, 6:27 pm)
[2.6 patch] make IWLWIFI a tristate, Adrian Bunk, (Mon May 5, 2:25 pm)
Re: [2.6 patch] make IWLWIFI a tristate, Zhu Yi, (Mon May 5, 9:26 pm)
Re: [2.6 patch] make IWLWIFI a tristate, David Miller, (Tue May 6, 3:05 am)
Re: [2.6 patch] make IWLWIFI a tristate, David Miller, (Mon May 5, 3:40 pm)
Re: [2.6 patch] make IWLWIFI a tristate, Adrian Bunk, (Mon May 5, 3:42 pm)
Re: [PATCH] Allow building iwl3945 without iwl4965., John W. Linville, (Tue Apr 29, 9:27 am)
Re: [PATCH] Allow building iwl3945 without iwl4965., Randy.Dunlap, (Tue Apr 29, 10:36 pm)
Re: [PATCH] Allow building iwl3945 without iwl4965., Sam Ravnborg, (Fri May 2, 11:07 am)
Re: [PATCH] Allow building iwl3945 without iwl4965., David Miller, (Tue Apr 29, 10:17 pm)
Re: [PATCH] Allow building iwl3945 without iwl4965., David Miller, (Tue Apr 29, 10:32 pm)
Re: [PATCH] Allow building iwl3945 without iwl4965., Bill Fink, (Wed Apr 30, 12:46 am)
Re: [PATCH] Allow building iwl3945 without iwl4965., David Miller, (Sun Apr 27, 6:43 pm)
speck-geostationary