[U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

Remy Bohmer linux at bohmer.net
Sun Jan 15 20:41:35 CET 2012


Hi,

2012/1/9 Vincent Palatin <vpalatin at chromium.org>:
> Fix the crash when running several times usb_init() with a USB ethernet
> device plugged.
>
> Signed-off-by: Vincent Palatin <vpalatin at chromium.org>
> Tested-by: Wolfgang Grandegger <wg at denx.de>
> ---
>  drivers/usb/eth/usb_ether.c |    7 +++++--
>  include/net.h               |    1 +
>  net/eth.c                   |   29 +++++++++++++++++++++++++++++
>  3 files changed, 35 insertions(+), 2 deletions(-)
>
Applied to u-boot-usb. Thanks.

Kind regards,

Remy


More information about the U-Boot mailing list