Support USB interrupt schedules on OHCI and UHCI.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 14 Feb 2010 02:51:47 +0000 (21:51 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 14 Feb 2010 02:51:47 +0000 (21:51 -0500)
commit991eaff3f618d8018b2956b19bb47b0dff58a1d7
tree8ec97cd96bcfd5c4d2fdc33e2ea728527ce74ee8
parent59c7574767838cd53419779e4cbc2162c14a4ac6
Support USB interrupt schedules on OHCI and UHCI.

The existing code always checks for USB "interrupt in" events every
millisecond.  Although that's okay, it consumes extra bandwidth.  This
change interrupt checks to be scheduled according to their requested
interval time.
src/clock.c
src/usb-ohci.c
src/usb-ohci.h
src/usb-uhci.c
src/usb-uhci.h
src/usb.c
src/usb.h
src/util.h