Return-path: Received: from smtp2.linux-foundation.org ([207.189.120.14]:48673 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756122AbXITPf6 (ORCPT ); Thu, 20 Sep 2007 11:35:58 -0400 Date: Thu, 20 Sep 2007 08:35:14 -0700 From: Stephen Hemminger To: "Luis R. Rodriguez" Cc: "Michael Buesch" , linux-wireless@vger.kernel.org, "Jiri Slaby" , "Tim Gardner" Subject: Re: ath5k and network manager Message-ID: <20070920083514.4a4f1b3f@freepuppy.rosehill> In-Reply-To: <43e72e890709200834xc6947f5g50a6cf0c5bd4d971@mail.gmail.com> References: <20070919214007.1a6a9b4a@freepuppy.rosehill> <43e72e890709200555r779aaa50i6bb8ab90195686bc@mail.gmail.com> <200709201511.23400.mb@bu3sch.de> <20070920083056.31f231b9@freepuppy.rosehill> <43e72e890709200834xc6947f5g50a6cf0c5bd4d971@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 20 Sep 2007 11:34:29 -0400 "Luis R. Rodriguez" wrote: > 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. > It was by PCI ID -- Stephen Hemminger