Alan Stern e58dcebcd8 USB: UHCI: improve scheduling of interrupt URBs
This patch (as1140) adds a little intelligence to the interrupt-URB
scheduler in uhci-hcd.  Right now the scheduler is stupid; every URB
having the same period is assigned to the same slot.  Thus a large
group of period-N URBs can fill their slot and cause -ENOSPC errors
even when all the lower-period slots are empty.

With the patch, if an URB doesn't fit in its assigned slot then the
scheduler will try using lower-period slots.  This will provide
greater flexibility.  As an example, the driver will be able to handle
more than just three or four mice, which the current driver cannot.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-17 14:41:01 -07:00
..
2008-10-15 11:31:54 +11:00
2008-10-17 14:40:52 -07:00
2008-10-16 11:21:48 -07:00
2008-10-16 11:21:40 -07:00
2008-10-16 11:21:38 -07:00
2008-10-14 22:24:51 +01:00
2008-10-15 23:16:07 +01:00
2008-10-16 11:21:30 -07:00
2008-10-14 10:11:27 +11:00
2008-10-16 11:21:49 -07:00
2008-10-13 14:33:13 -07:00
2008-10-16 11:21:45 -07:00
2008-10-16 11:21:51 -07:00
2008-10-03 10:04:10 +02:00