Johannes Erdfelt wrote:
-move bandwidth reservation into submit_interrupt and submit_isochronous.
Reserve bandwidth at start of submit_iso, and release on error. Reserve
at end of submit_common (for int only, not bulk). For interrupt, only
reserve if the URB is the first (i.e. not queued). Only release if the
URB is the last (i.e. no more queued).
Good point. We should also (in another thread) discuss how we're going
to fix bandwidth reservation in the long run.
Notice the changed subject line ... :)
Reservation should be on a per-endpoint basis, for both ISO and INTR
transfer modes, if we try to follow the USB spec. Dan's change makes
interrupt transfers work that way ... ISO should too.
The tricky bit is that the usb_{claim,release}_bandwidth() calls work
on urbs, not endpoints. So I think those calls need to vanish, and
HCDs need to switch to more precise math.
- Dave
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel