On Wed, 16 Aug 2006, David Brownell wrote:

> On Wednesday 16 August 2006 1:52 pm, Alan Stern wrote:
> > Greg:
> > 
> > All of the currently-supported USB host controller drivers use the HCD
> > bus-glue framework.  As part of the program for flattening out the glue
> > layer, this patch (as769) removes the usb_operations structure.  All
> > function calls now go directly to the HCD routines (slightly renamed
> > to remain within the "usb_" namespace).
> 
> Thanks ... ack!
> 
> There's still  wierdness lurking though.  usb_bus needs to eventually
> vanish ... and usb_bus_put() still exists even though its alloc() sibling
> is now gone, while usb_put_hcd looks just plain bizarre any more.

Absolutely.  Best to change only one thing at a time, though...  Changing
over the usb_bus_get and usb_bus_put routines is an obvious next step.  
They aren't used very much so it will be easy to do.

Eliminating usb_bus will require a lot more work.  It is intertwined with 
struct hcd throughout large parts of usbcore and the HC drivers.  That's a 
job for another day.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to