[U-Boot] [PATCH 1/2 V2] Add USB host ethernet adapter support

Remy Bohmer linux at bohmer.net
Fri Feb 11 21:33:21 CET 2011


Hi,

2011/2/8 Simon Glass <sjg at chromium.org>:
> This adds support for using USB Ethernet dongles in host mode. This is just
> the framework - drivers will come later. A new config option called
> CONFIG_USB_HOST_ETHER can be defined in board config files to switch this
> on.
>
> The was originally written by NVIDIA and was cleaned up for release by the
> Chromium authors.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>  Makefile                    |    1 +
>  common/cmd_usb.c            |   12 +++-
>  common/usb.c                |    6 ++-
>  doc/README.usb              |    4 +-
>  drivers/usb/eth/Makefile    |   45 ++++++++++++++
>  drivers/usb/eth/usb_ether.c |  143 +++++++++++++++++++++++++++++++++++++++++++
>  include/usb.h               |    9 +++-
>  include/usb_ether.h         |   61 ++++++++++++++++++
>  net/eth.c                   |   47 +++++++--------
>  9 files changed, 298 insertions(+), 30 deletions(-)
>  create mode 100644 drivers/usb/eth/Makefile
>  create mode 100644 drivers/usb/eth/usb_ether.c
>  create mode 100644 include/usb_ether.h

This patch does not seem to apply to u-boot-usb master branch...
Can you please take a look at it?

Kind regards,

Remy


More information about the U-Boot mailing list