[PATCH] usb: implement detect callback

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 20 10:05:21 EDT 2013


The following prepares to implement the detect callback for USB
and finally implements it in the ehci driver.

With this series all frameworks in barebox supporting on-demand-probing
support the new 'detect' command.

Sascha

----------------------------------------------------------------
Sascha Hauer (4):
      usb: rename USB devices to reflect bus structure
      usb: move scanned status into core
      usb: implement a usb_host_detect to scan individual USB hosts
      usb: ehci: implement detect callback

 commands/usb.c              | 10 +++-------
 drivers/usb/core/usb.c      | 47 +++++++++++++++++++++++++++++++++++----------
 drivers/usb/host/ehci-hcd.c |  9 +++++++++
 include/usb/usb.h           |  5 ++++-
 4 files changed, 53 insertions(+), 18 deletions(-)



More information about the barebox mailing list