From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from yw-out-2324.google.com ([74.125.46.28]:57500 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752125AbYGUNaA (ORCPT ); Mon, 21 Jul 2008 09:30:00 -0400 Received: by yw-out-2324.google.com with SMTP id 9so506586ywe.1 for ; Mon, 21 Jul 2008 06:29:59 -0700 (PDT) Message-ID: <1ba2fa240807210629x56ed2f33o7c0a45daddfbc6bf@mail.gmail.com> (sfid-20080721_153006_335412_AF65E794) Date: Mon, 21 Jul 2008 16:29:58 +0300 From: "Tomas Winkler" To: drago01 Subject: Re: [PATCH 0/3] Introducing IWLAGN Cc: "Henrique de Moraes Holschuh" , linville@tuxdriver.com, johannes@sipsolutions.net, yi.zhu@intel.com, linux-wireless@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1216597215-19708-1-git-send-email-tomas.winkler@intel.com> <20080721012528.GA6623@khazad-dum.debian.net> <1ba2fa240807210018gbd31c18g59fc08f4a8b2a3ce@mail.gmail.com> <1ba2fa240807210537p66e55407l33662a43e39c106e@mail.gmail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jul 21, 2008 at 4:04 PM, drago01 wrote: > On Mon, Jul 21, 2008 at 2:37 PM, Tomas Winkler wrote: >> On Mon, Jul 21, 2008 at 10:18 AM, Tomas Winkler wrote: >>> On Mon, Jul 21, 2008 at 4:25 AM, Henrique de Moraes Holschuh >>> wrote: >>>> On Mon, 21 Jul 2008, Tomas Winkler wrote: >>>>> This series of patches renames iwl4965 driver to iwlagn driver >>>> >>>> Maybe MODULE_ALIAS with the old name would be a good idea? >>> >>> I wasn't aware of this one I'll give it a try. Thanks >> >> It doesn't work much >> if I rename the module name to iwlagn.ko and just add >> MODULE_ALIAS("iwl4965") or alias line in /etc/modprobe.conf. I've >> checked modules.alias it's updated. >> Still modprobe iwl4965 cannot catch it. >> So it's still will create mess when switching between to version of the kernel. > > thats odd ... just tested it with a webcam driver (m5602 added > MODULE_ALIAS("bisoncam") and it worked) > does modinfo iwlagn list the alias? yes it does show the alias but modprobe fails with Module iwl4965 not found. I did strace it's really reads the modules.alias but found nothing Hope I'm wasting my time on some stupid typo...just cannot find it :) Tomas > And modprobe.conf should just work (modules.alias is not involved here).