Return-path: Received: from mail-ew0-f206.google.com ([209.85.219.206]:65450 "EHLO mail-ew0-f206.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751952AbZH0Jnk (ORCPT ); Thu, 27 Aug 2009 05:43:40 -0400 Received: by ewy2 with SMTP id 2so1014009ewy.17 for ; Thu, 27 Aug 2009 02:43:41 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1251357267.20531.4.camel@johannes.local> References: <3ace41890908261511i3056c049kca82831015ff2aa0@mail.gmail.com> <43e72e890908261528m23b8fe78w209e305f27e68fa1@mail.gmail.com> <3ace41890908261555g339e65d1n6627cc3d1713287e@mail.gmail.com> <43e72e890908261645n24a040cds84f012095a40c15b@mail.gmail.com> <1251357267.20531.4.camel@johannes.local> Date: Thu, 27 Aug 2009 10:43:40 +0100 Message-ID: <3ace41890908270243i7c1d8ddav322a35c566d2c010@mail.gmail.com> Subject: Re: hal, rfkill and compat-wireless (Re: [RFC/RFT] rtl8187: Implement rfkill support) From: Hin-Tak Leung To: Johannes Berg Cc: "Luis R. Rodriguez" , hal@lists.freedesktop.org, htl10@users.sourceforge.net, Larry Finger , Herton Ronaldo Krzesinski , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Aug 27, 2009 at 8:14 AM, Johannes Berg wrote: > On Wed, 2009-08-26 at 16:45 -0700, Luis R. Rodriguez wrote: > >> Johannes, did kernels < 2.6.31 have /sys/class/rfkill ? > > Yes, but I never understood why that matters. If you've got > compat-wireless "rfkill" loaded then the original rfkill can't be loaded > anyway. And their symbols would probably clash anyway if the original is > built in, in which case you can't use compat. > > You haven't renamed cfg80211's sysfs either, so why rfkill? > > johannes > There are a couple of wimax drivers which depends on rfkill... or bluetooth drivers? I think one likely reason is that there are valid situations or hardware combinations which requires having both of them loaded. (but that's a whole can of worms )