[coreboot] Patch merged into coreboot/master: 462841c libpayload: Add support for interrupt transfers in OHCI
gerrit at coreboot.org
gerrit at coreboot.org
Thu Jun 21 12:00:01 CEST 2012
the following patch was just integrated into master:
commit 462841cea7b618c36b8eb532df6cb090e7f13741
Author: Nico Huber <nico.huber at secunet.com>
Date: Wed Jun 20 14:58:21 2012 +0200
libpayload: Add support for interrupt transfers in OHCI
This adds support for usb interrupt transfers to the OHCI driver.
Basically this enables support for HID keyboard devices.
For each interrupt transfer endpoint, two queues of transfer
descriptors (TDs) are maintained: the first with initialized TDs
is linked to the periodic schedule of the host controller (HC), the
second holds processed TDs which will be polled by the usb class
driver. The HC moves processed TDs from its schedule to a done queue.
We periodically fetch all TDs from the done queue, to put them on the
queue associated with the endpoint, where they can be polled from.
Fully processed TDs (i.e. which have gone throuch all of this) will be
reinitialized and put on the first queue again.
Change-Id: Iaab72c04087b36c9f0f6e539e31b47060c190015
Signed-off-by: Nico Huber <nico.huber at secunet.com>
Build-Tested: build bot (Jenkins) at Wed Jun 20 22:53:57 2012, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer at coreboot.org> at Wed Jun 20 20:57:34 2012, giving +2
See http://review.coreboot.org/1128 for details.
-gerrit
More information about the coreboot
mailing list