Re: 2.5.26 hotplug failure

Greg KH (greg@kroah.com)
Thu, 19 Sep 2002 16:06:44 -0700


On Fri, Sep 20, 2002 at 06:56:23AM +1000, Brad Hards wrote:
> On Fri, 20 Sep 2002 02:49, Greg KH wrote:
> > The main reason is this information is no longer available to the USB
> > core. It isn't keeping a list of registered drivers anymore, only the
> > driver core is. So there's no way that usbfs can get to that
> > information. As the info is available in driverfs, duplication of it in
> > usbfs would be bloat.
> This doesn't follow. driverfs != driver core, just as usbfs != USB core.

I agree. But the info is now in the driver core, it's not present in
the USB core at all anymore. So since drverfs exports what's in the
driver core, that info shows up there. usbfs doesn't have access to
this info, so it can't display it.

> I wasn't joking about putting back the /proc/bus/usb/drivers file. This is
> really going to hurt us in 2.6.

Is this file _really_ used? All it did was show the USB drivers
registered. Even so, that same information is now present in driverfs,
I haven't taken away anything, just moved it. Lots of things are
starting to move to driverfs, this isn't the first, and will not be the
last.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/