> While I agree some of the locking can be made simpler, it can't be
> reduced to 1 lock.

Could you elaborate?  It works for OHCI and EHCI, so on
first principles, the same should be true for UHCI.  (*)
I'm not saying that some parts of the current drivers don't
assume multiple locks, only that it's not necessary.

I think that if you treat "one spinlock per HC" as a
technical goal, you'll find it's very possible.

- Dave

(*) The OHCI driver keeps the lock for longer than I'd
     rather keep it, but that could be improved on.
     The EHCI code is better in that respect, and over
     time I'll make the OHCI code look more like that.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to