netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] do not allow IPW_2100=Y or IPW_2200=Y
@ 2006-07-10 15:20 Pavel Machek
  2006-07-10 17:53 ` Jeff Garzik
  2006-07-10 22:21 ` [patch] do not allow IPW_2100=Y or IPW_2200=Y Jan Engelhardt
  0 siblings, 2 replies; 20+ messages in thread
From: Pavel Machek @ 2006-07-10 15:20 UTC (permalink / raw)
  To: yi.zhu, jketreno, Netdev list, linville, kernel list, jgarzik

Kconfig currently allows compiling IPW_2100 and IPW_2200 into kernel
(not as a module). Unfortunately, such configuration does not work,
because these drivers need a firmware, and it can't be loaded by
userspace loader when userspace is not running.

Is there better way of creating N/m config option?

Signed-off-by: Pavel Machek <pavel@suse.cz>

diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index fa9d2c4..050febb 100644
--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -144,9 +144,14 @@ config PCMCIA_RAYCS
 comment "Wireless 802.11b ISA/PCI cards support"
 	depends on NET_RADIO && (ISA || PCI || PPC_PMAC || PCMCIA)
 
+
+config MODULE_ONLY
+	tristate
+	default m
+
 config IPW2100
 	tristate "Intel PRO/Wireless 2100 Network Connection"
-	depends on NET_RADIO && PCI
+	depends on NET_RADIO && PCI && MODULE_ONLY
 	select FW_LOADER
 	select IEEE80211
 	---help---
@@ -200,7 +205,7 @@ config IPW2100_DEBUG
 
 config IPW2200
 	tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
-	depends on NET_RADIO && PCI
+	depends on NET_RADIO && PCI && MODULE_ONLY
 	select FW_LOADER
 	select IEEE80211
 	---help---

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply related	[flat|nested] 20+ messages in thread
[parent not found: <6x7TQ-87H-17@gated-at.bofh.it>]

end of thread, other threads:[~2006-07-27 14:46 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-10 15:20 [patch] do not allow IPW_2100=Y or IPW_2200=Y Pavel Machek
2006-07-10 17:53 ` Jeff Garzik
2006-07-10 18:29   ` Auke Kok
2006-07-10 18:47     ` David Miller
2006-07-10 18:51       ` Arjan van de Ven
2006-07-10 20:56         ` Joel Becker
2006-07-11 14:42           ` Arjan van de Ven
2006-07-11 21:53             ` Joel Becker
2006-07-11 11:27         ` Pavel Machek
2006-07-11 14:42           ` Arjan van de Ven
2006-07-10 21:05   ` Michael Buesch
2006-07-11 11:53     ` Daniel Drake
2006-07-11 20:39       ` Michael Buesch
2006-07-11 20:59         ` Daniel Drake
2006-07-11 13:32     ` Pavel Machek
2006-07-12  4:39       ` Zhu Yi
2006-07-27 14:43         ` John W. Linville
2006-07-11 13:34     ` [patch] cleanup // comments from ipw2200 Pavel Machek
2006-07-10 22:21 ` [patch] do not allow IPW_2100=Y or IPW_2200=Y Jan Engelhardt
     [not found] <6x7TQ-87H-17@gated-at.bofh.it>
     [not found] ` <6x8df-8wm-13@gated-at.bofh.it>
     [not found]   ` <6xbaZ-4NX-1@gated-at.bofh.it>
     [not found]     ` <6xyhj-5Fq-19@gated-at.bofh.it>
2006-07-12 20:56       ` Bodo Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).