public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rfkill: remove input Kconfig
@ 2009-06-07 17:39 Johannes Berg
  2009-06-08  0:16 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2009-06-07 17:39 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Marcel Holtmann

Now that we added the ioctl, there's no need to ask
the user to configure this. We will keept it enabled
for now, and eventually swap the default to n, maybe
let people configure it under EMBEDDED or so. In any
case, there's no need to bother users with this now.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 net/rfkill/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- wireless-testing.orig/net/rfkill/Kconfig	2009-06-07 19:37:34.000000000 +0200
+++ wireless-testing/net/rfkill/Kconfig	2009-06-07 19:37:41.000000000 +0200
@@ -18,7 +18,7 @@ config RFKILL_LEDS
 	default y
 
 config RFKILL_INPUT
-	bool "RF switch input support"
+	bool
 	depends on RFKILL
 	depends on INPUT = y || RFKILL = INPUT
-	default y if !EMBEDDED
+	default y



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] rfkill: remove input Kconfig
  2009-06-07 17:39 [PATCH] rfkill: remove input Kconfig Johannes Berg
@ 2009-06-08  0:16 ` Marcel Holtmann
  2009-06-08  6:14   ` [PATCH v2] " Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2009-06-08  0:16 UTC (permalink / raw)
  To: Johannes Berg; +Cc: John Linville, linux-wireless

Hi Johannes,

> Now that we added the ioctl, there's no need to ask
> the user to configure this. We will keept it enabled
> for now, and eventually swap the default to n, maybe
> let people configure it under EMBEDDED or so. In any
> case, there's no need to bother users with this now.
> 
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
> ---
>  net/rfkill/Kconfig |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- wireless-testing.orig/net/rfkill/Kconfig	2009-06-07 19:37:34.000000000 +0200
> +++ wireless-testing/net/rfkill/Kconfig	2009-06-07 19:37:41.000000000 +0200
> @@ -18,7 +18,7 @@ config RFKILL_LEDS
>  	default y
>  
>  config RFKILL_INPUT
> -	bool "RF switch input support"
> +	bool
>  	depends on RFKILL
>  	depends on INPUT = y || RFKILL = INPUT
> -	default y if !EMBEDDED
> +	default y

if you want this for normal setups, I totally agree that we not should
ask the user. However when in EMBEDDED, lets give them a chance to not
compile this in. Since most likely it is not needed at all.

Regards

Marcel



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] rfkill: remove input Kconfig
  2009-06-08  0:16 ` Marcel Holtmann
@ 2009-06-08  6:14   ` Johannes Berg
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2009-06-08  6:14 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: John Linville, linux-wireless

Now that we added the ioctl, there's no need to ask
the user to configure this. We will keep it enabled
for now, and eventually swap the default to n. Also
let embedded users select it only if they need it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
v2: Turn default back to N for embedded, and make the question itself
    depend on embedded.

 net/rfkill/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-testing.orig/net/rfkill/Kconfig	2009-06-07 21:26:29.000000000 +0200
+++ wireless-testing/net/rfkill/Kconfig	2009-06-08 08:11:15.000000000 +0200
@@ -18,7 +18,7 @@ config RFKILL_LEDS
 	default y
 
 config RFKILL_INPUT
-	bool "RF switch input support"
+	bool "RF switch input support" if EMBEDDED
 	depends on RFKILL
 	depends on INPUT = y || RFKILL = INPUT
 	default y if !EMBEDDED



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-08  6:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-07 17:39 [PATCH] rfkill: remove input Kconfig Johannes Berg
2009-06-08  0:16 ` Marcel Holtmann
2009-06-08  6:14   ` [PATCH v2] " Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox