[SeaBIOS] [PATCH 00/19] USB improvements
Kevin O'Connor
kevin at koconnor.net
Sun Mar 11 03:41:22 CET 2012
This series updates the USB code. This is mostly a code
reorganization, though there are a couple of bug fixes (mostly for
OHCI).
-Kevin
Kevin O'Connor (19):
Batch free USB pipes on OHCI controllers.
Batch free USB pipes on UHCI controllers.
Batch free USB pipes on EHCI controllers.
usb: Centralize pipe free list code.
usb: Remove cntl->defaultpipe cache.
usb: Obtain free list items in main code.
usb: Introduce 'struct usbdevice_s' to describe info for a given
device.
usb: Push 'struct usbdevice_s' usage through to pipe allocation.
usb: Build path via chain of usbdevice_s.
usb: Pass usbdevice_s to alloc_async_pipe.
usb: Pass 'struct usbdevice_s' into controller alloc_async functions.
usb: Pass 'struct usbdevice_s' to controller alloc_intr_pipe
functions.
usb: Move code around in usb controller code.
usb: Generalize controller alloc_async_pipe / alloc_intr_pipe code.
usb: Move code around in usb.c.
usb: Move EHCI tt_* fields to EHCI controller code.
usb: Populate OHCI endpoint descriptor info at pipe allocation.
usb: Fix barrier() placement in OHCI interrupt schedule add.
usb: Remove QH_MULT_SHIFT flag from qh.info1.
src/boot.c | 25 ++--
src/boot.h | 3 +-
src/usb-ehci.c | 441 +++++++++++++++++++++++++++-----------------------------
src/usb-ehci.h | 8 +-
src/usb-hid.c | 28 ++--
src/usb-hid.h | 6 +-
src/usb-hub.c | 14 +-
src/usb-hub.h | 4 +-
src/usb-msc.c | 14 +-
src/usb-msc.h | 6 +-
src/usb-ohci.c | 323 +++++++++++++++++++++---------------------
src/usb-ohci.h | 8 +-
src/usb-uhci.c | 411 +++++++++++++++++++++++++---------------------------
src/usb-uhci.h | 8 +-
src/usb.c | 277 +++++++++++++++++------------------
src/usb.h | 48 ++++---
16 files changed, 797 insertions(+), 827 deletions(-)
--
1.7.6.5
More information about the SeaBIOS
mailing list