[U-Boot] [PATCH] usb_ether: register usb ethernet gadget at each eth init
Lei Wen
adrian.wenl at gmail.com
Fri Dec 3 03:35:25 CET 2010
Hi Vitaly,
On Fri, Dec 3, 2010 at 12:34 AM, Vitaly Kuzmichev <vkuzmichev at mvista.com> wrote:
> 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.
>
Got that. Thanks for testing. :-)
Best regards,
Lei
More information about the U-Boot
mailing list