[U-Boot] [PATCH] usb_ether: register usb ethernet gadget at each eth init

Vitaly Kuzmichev vkuzmichev at mvista.com
Thu Dec 2 17:34:05 CET 2010


Hi Lei,

Lei Wen wrote:
> Since the ether may not be the only one usb gadget would be used
> in the uboot, it is neccessary to do the register each time the
> eth begin to work to make usb gadget driver less confussed when
> we want to use two different usb gadget at the same time.
> 
> Usb gadget driver could simple ignore the register operation, if
> it find the driver has been registered already.
> 
> Signed-off-by: Lei Wen <leiwen at marvell.com>

Tested, works fine on my board.

BTW, for future reference the tags in the subject should be [U-Boot]
[PATCH v2]. v2 points to that this is an improved/fixed version of a
patch previously submitted.
This can be reached using --subject-prefix="U-Boot] [PATCH v2" passed to
git format-patch command.

____
Best regards,
Vitaly.


More information about the U-Boot mailing list