[PATCH 00/10] More USB cleanup and fixes

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Wed Jul 23 06:51:41 PDT 2014


Sascha,

I have assembled a bunch of additional imports, cleanup, and fixes
before actually rebasing xHCI HCD on top of your latest USB changes.

Patches 1-3 import ch11.h from Linux and prepare it for use in
Barebox.

Patch 4 fixes a copy-and-paste error in usb_hub_configure().

Patches 5-8 clean up ehci-hcd and make it use ch9.h defines.

Patch 9 installs ch11.h and removes the duplicates from usb.h.

Patch 10 finally removes now redundant defines from usb_defs.h.

I have only compile-tested this as far as I could, so at least a
Tested-by on any EHCI driver would be good.

Sebastian

Sebastian Hesselbarth (10):
  USB: import ch11.h from Linux
  USB: reduce USB_MAXCHILDREN on imported ch11.h
  USB: fixup usb_hub_descriptor length name
  USB: fix PowerPowerCtrlMask assignment
  USB: Move FooRequest defines and add class requests
  USB: EHCI: reuse ch9.h config and interface descriptors
  USB: EHCI: make use of defines for descriptors
  USB: EHCI: use descriptor length fields
  USB: Use descriptors from ch11.h
  USB: remove redundant defines from usb_defs.h

 drivers/usb/core/hub.c      |  10 +-
 drivers/usb/host/ehci-hcd.c | 114 +++++++++---------
 drivers/usb/host/ehci.h     |  41 -------
 include/usb/ch11.h          | 279 ++++++++++++++++++++++++++++++++++++++++++++
 include/usb/usb.h           |  27 +----
 include/usb/usb_defs.h      | 135 ++++-----------------
 6 files changed, 364 insertions(+), 242 deletions(-)
 create mode 100644 include/usb/ch11.h

---
To: Sascha Hauer <s.hauer at pengutronix.de>
Cc: barebox at lists.infradead.org
-- 
2.0.0




More information about the barebox mailing list