On Tuesday 17 July 2007, Greg KH wrote: > On Tue, Jul 10, 2007 at 12:45:02PM -0700, [EMAIL PROTECTED] wrote: > > +static > > +ssize_t usb_host_authorized_default_show(struct class_device *dev, char > > *buf) > > +{ > > + struct usb_bus *usb_bus = class_get_devdata(dev); > > + struct usb_hcd *usb_hcd = container_of(usb_bus, struct usb_hcd, self); > > + return snprintf(buf, PAGE_SIZE, "%u\n", usb_hcd->authorized_default); > > +} > > I'm currently trying _really_ hard to just drop the whole > /sys/class/usb_host/ stuff entirely as no one currently uses it other > than for debugging stuff. > > So I'd really prefer to not add new stuff here that I'll just have to > rip out in a few weeks anyway. > > Is there any where else you can add this? Does this really need to be > on a per-host-controller basis? If so, just add it to the host > controller device itself, not in this class_device.
I was looking into it, but as I saw class_host was still there, I sat for it. I'll replace it with the controller device or the root hub. Give me a couple of hours and will resend the whole patch series (I also had to fix a couple of patches and add two more). ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel