On Sun, Jun 03, 2001, David Brownell <[EMAIL PROTECTED]> wrote:
> > I suggest we get rid of any instances of urb->lock in usb-uhci.
> > It does not serve any useful purpose, and is a terrible bug
> > generator.
>
> The "hcd" layer (used right now only for EHCI) uses that
> lock when it's switching urbs between the generic layer
> (what the USB spec calls the "USBD" ... think "usbcore")
> and the HCD. It helps prevent racing between unlinking
> because of device driver request, and because of the HC
> completing the request (perhaps because the HC itself
> died or got rmmodded -- not just normal completions).
>
> So I'm not quite sure that urb->lock can really disappear.
> Though I'd agree that it's one of several chunks of urb data
> that aren't clearly enough specified.
He specifically said usb-uhci and nothing about hcd or any other
drivers.
JE
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel