From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Subject: Re: [RFC][PATCH] Fix another namespace issue with devices assigned to classes Date: Tue, 8 Jun 2010 11:30:51 +0200 Message-ID: References: <1275484611.3915.11.camel@jlt3.sipsolutions.net> <20100602154608.GB12361@kroah.com> <1275493693.3915.12.camel@jlt3.sipsolutions.net> <1275495677.3915.16.camel@jlt3.sipsolutions.net> <1275498007.3915.20.camel@jlt3.sipsolutions.net> <1275501157.3915.22.camel@jlt3.sipsolutions.net> <1275506732.3915.41.camel@jlt3.sipsolutions.net> <1275634452.5189.1.camel@jlt3.sipsolutions.net> <1275640113.9953.8.camel@jlt3.sipsolutions.net> <1275829701.3615.54.camel@jlt3.sipsolutions.net> <1275903773.29978.1.camel@jlt3.sipsolutions.net> <1275905686.29978.3.camel@jlt3.sipsolutions.net> <1275910905.29978.7.camel@jlt3.sipsolutions.net> <1275913563.1823.1.camel@yio.site> <1275914205.29978.10.camel@jlt3.sipsolutions.net> <1275989260.3706.115.camel@jlt3.sipsolutions.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: "Eric W. Biederman" , Greg KH , netdev To: Johannes Berg Return-path: Received: from mail-yx0-f174.google.com ([209.85.213.174]:48705 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752745Ab0FHJbK (ORCPT ); Tue, 8 Jun 2010 05:31:10 -0400 Received: by yxl31 with SMTP id 31so763751yxl.19 for ; Tue, 08 Jun 2010 02:31:09 -0700 (PDT) In-Reply-To: <1275989260.3706.115.camel@jlt3.sipsolutions.net> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Jun 8, 2010 at 11:27, Johannes Berg wrote: > On Mon, 2010-06-07 at 14:54 +0200, Kay Sievers wrote: > >> > I see you remove the driver. Does this mean that in sysfs these devices >> > wouldn't have a driver symlink? ISTR that we needed that for userspace, >> > but I'm not entirely sure, and I don't have all the relevant userspace >> > in my test setup. >> >> Yeah, if you need the driver, you need to use bus device, as you do >> now. The driver needs to be registered with the core, and the probe >> function needs to tell to bind to the devices while registered. You >> can not manually assign this. > > So I spoke to Jouni and he says that he doesn't remember needing the > driver, so I guess we don't care. Can I get you to submit that patch > properly? Send it to linux-wireless@vger.kernel.org please. Sure, you mean the patch that changes the hwsim code, or the one I talked about to properly create a virtual bus parent? Kay