On Sat, Jun 16, 2001 at 02:48:39PM +0200, Wolfgang M�es wrote:
 
> In dabusb.c, I have seen some statical allocated URBs inside the driver
> data structures. I assume that these are not the only ones without
> initialized lock....

Where? Don't mix this up with the purb_t definition, that is a pointer to an
URB, and it is initalized with alloc_urb...
The p*-stuff is a bit Windows-like, but that's how Deti writes his programs...
 
> By the way: is it a common agreement that dabusb.c is a reference driver
> for usb devices as suggested in
> "Programming Guide for Linux USB Device Drivers" at http://usb.cs.tum.edu ?

It was the first driver using the URB-API, and showed how to reliably do
isochronous streaming and firmware downloading for EZUSB. It has no big
protocol overhead, and is therefore much simpler to understand than a driver
that also has to care about complicated protocols. Since Deti also wrote the
Programming Guide, he referred to that driver.
-- 
         Georg Acher, [EMAIL PROTECTED]         
         http://www.in.tum.de/~acher/
          "Oh no, not again !" The bowl of petunias          

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to