Return-path: Received: from wa-out-1112.google.com ([209.85.146.182]:43028 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbYD2BHw (ORCPT ); Mon, 28 Apr 2008 21:07:52 -0400 Received: by wa-out-1112.google.com with SMTP id m16so8402384waf.23 for ; Mon, 28 Apr 2008 18:07:52 -0700 (PDT) Message-ID: <1ba2fa240804281807u2162bf28red586ae61fd881a@mail.gmail.com> (sfid-20080429_030756_008190_6A61AF89) Date: Tue, 29 Apr 2008 03:07:51 +0200 From: "Tomas Winkler" To: "John W. Linville" Subject: Re: [2.6 patch] iwlwifi: move the selects to the tristate drivers Cc: "Adrian Bunk" , "David Miller" , linux-kernel@vger.kernel.org, reinette.chatre@intel.com, torvalds@linux-foundation.org, yi.zhu@intel.com, linux-wireless@vger.kernel.org In-Reply-To: <20080428234548.GB3075@tuxdriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <20080428054700.GA16177@Pilar.virtua.com.br> <20080427.233507.261574307.davem@davemloft.net> <20080428073212.GA7260@Pilar.virtua.com.br> <20080428131552.GI16379@cs181133002.pp.htv.fi> <20080428142129.GA5679@beyonder.ift.unesp.br> <20080428205849.GB2813@cs181133002.pp.htv.fi> <20080428234548.GB3075@tuxdriver.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On 4/29/08, John W. Linville wrote: > On Mon, Apr 28, 2008 at 11:58:49PM +0300, Adrian Bunk wrote: > > > This patch moves the following select's: > > - RFKILL : IWLWIFI_RFKILL -> IWLCORE > > - RFKILL_INPUT : IWLWIFI_RFKILL -> IWLCORE > > - MAC80211_LEDS : IWL4965_LEDS -> IWLCORE > > - LEDS_CLASS : IWL4965_LEDS -> IWLCORE > > - MAC80211_LEDS : IWL3945_LEDS -> IWL3945 > > - LEDS_CLASS : IWL3945_LEDS -> IWL3945 > > > > The effects are: > > - with IWLCORE=m and/or IWL3945=m RFKILL/RFKILL_INPUT/MAC80211_LEDS/LEDS_CLASS > > are no longer wrongly forced to y > > - fixes a build error with IWLCORE=y, IWL4965=m > > might be a bug in kconfig causing it, but doing this change that is > > anyway the right thing fixes it > > > > Reported-by: Carlos R. Mafra > > Signed-off-by: Adrian Bunk > > This seems sane to me -- I'm sorry I let so much Kconfig mess slip > through on this driver in the first place! I'm sorry too, this is just so no intuitive... I'm really amazed where it get into yet constrain computation is always complex. Next time I put more effort in this. Tomas > > --- > > > > BTW: There's no correlation between IWL3945_LEDS and IWLWIFI_LEDS. > > That seems to be intended? > > Yes. IWLWIFI_LEDS used to be IWL4965_LEDS, and I have the impression > that eventually it will subsume IWL3945_LEDS as well. > True, not yet. Thanks Tomas