Return-path: Received: from py-out-1112.google.com ([64.233.166.181]:24325 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755653AbXITPeb (ORCPT ); Thu, 20 Sep 2007 11:34:31 -0400 Received: by py-out-1112.google.com with SMTP id u77so1018675pyb for ; Thu, 20 Sep 2007 08:34:30 -0700 (PDT) Message-ID: <43e72e890709200834xc6947f5g50a6cf0c5bd4d971@mail.gmail.com> Date: Thu, 20 Sep 2007 11:34:29 -0400 From: "Luis R. Rodriguez" To: "Stephen Hemminger" Subject: Re: ath5k and network manager Cc: "Michael Buesch" , linux-wireless@vger.kernel.org, "Jiri Slaby" , "Tim Gardner" In-Reply-To: <20070920083056.31f231b9@freepuppy.rosehill> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 References: <20070919214007.1a6a9b4a@freepuppy.rosehill> <43e72e890709200555r779aaa50i6bb8ab90195686bc@mail.gmail.com> <200709201511.23400.mb@bu3sch.de> <20070920083056.31f231b9@freepuppy.rosehill> Sender: linux-wireless-owner@vger.kernel.org List-ID: On 9/20/07, Stephen Hemminger wrote: > On Thu, 20 Sep 2007 15:11:23 +0200 > Michael Buesch wrote: > > > On Thursday 20 September 2007, Luis R. Rodriguez wrote: > > > On 9/20/07, Stephen Hemminger wrote: > > > > Network manager doesn't seem to detect ath5k. Perhaps it is because > > > > it is name "ath0". I think device should follow the convention of using > > > > name "wifi0" rather than BSD convention of putting driver name in device name. > > > > > > I couldn't agree anymore. But my ath5k kicks out a wlan%d name as with > > > any other mac80211 driver. Is yours coming out to ath%d ? > > > > > > ieee80211_register_hw(): > > > > > > /* add one default STA interface */ > > > result = ieee80211_if_add(local->mdev, "wlan%d", NULL, > > > IEEE80211_IF_TYPE_STA); > > > > > > > > > Probably udev renames it. > > It was udev, don't know why Ubuntu was adding a rule for it (and getting wrong) > value. > CC' TIm Was it a rule by PCI ID? If so then perhaps its based on the old madwifi rules of sticking to ath%d notation as well. This can be removed for ath5k but not too sure how this works. Luis