Re: iwl3945: fix LED config option

From: reinette chatre
Date: Mon Jul 20 2009 - 16:45:37 EST


Hi Pavel,

On Sat, 2009-07-18 at 03:20 -0700, Pavel Machek wrote:
> On Thu 2009-07-09 08:39:46, reinette chatre wrote:
> > On Thu, 2009-07-09 at 02:38 -0700, Pavel Machek wrote:
> > > > >
> > > > > (Also wifi LED stopped working on x60, but that's older issue).
> > > >
> > > > Is there a bug report for this?
> > >
> > > Well... I thought that was known issue?
> > >
> > > Anyway, wifi LED used to work on x60 before driver rewrite. Now it is
> > > broken. I thought it is known/missing functionality? ...but I'd like
> > > to get it back :-).
> >
> > Sorry ... but I have to ask ... did you compile with
> > CONFIG_IWLWIFI_LEDS ? If you still have issues - please do submit a bug
> > report.
>
> Aha, this explains it:
>
> Enable LED support in iwlagn and iwl3945 drivers (IWLWIFI_LEDS) [N/y] (NEW) ?
>
> Sorry, no help available for this option yet.
>
> ...maybe LEDS should be default Y?
> Pavel
>
> ---
>
> IWLWIFI_LEDS option should certainly have help comment,

Currently is reads (as you also have below) "Enable LED support in
iwlagn and iwl3945 drivers". This seems clear to me.

> and should
> default to y.

This makes sense.

> Actually I wonder if it should be user configurable at
> all, is there good reason?

Some users find the LED annoying and like to have a way to disable it.

>
> Signed-off-by: Pavel Machek <pavel@xxxxxx>
>
> diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig
> index e092af0..95d9aa5 100644
> --- a/drivers/net/wireless/iwlwifi/Kconfig
> +++ b/drivers/net/wireless/iwlwifi/Kconfig
> @@ -9,6 +9,10 @@ config IWLWIFI
> config IWLWIFI_LEDS
> bool "Enable LED support in iwlagn and iwl3945 drivers"
> depends on IWLWIFI
> + default y

This is reasonable.

> + ---help---
> + Useful to get Wifi LED working at least on Thinkpad notebooks.

I do not think this says more than what we already have. I actually
think noting something about a particular platform will increase
confusion (as in "so where is the option if I have an acer laptop?")
because this option is needed to get LED support on all platforms. I do
think what is currently written is sufficient, but if you insist on
having some text there I think it should be simpler. Something like
"Select this if you want LED support."


Reinette


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/