[U-Boot] [PATCH 1/2] dm: eth: Test 'ethrotate' before changing current ethernet device

Simon Glass sjg at chromium.org
Mon Jan 4 00:05:13 CET 2016


On 3 January 2016 at 13:52, Simon Glass <sjg at chromium.org> wrote:
> On 22 December 2015 at 12:04, Joe Hershberger <joe.hershberger at gmail.com> wrote:
>> On Tue, Dec 22, 2015 at 12:43 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
>>> In eth_current_changed(), the call to eth_get_dev() below has a side
>>> effect of rotating ethernet device if uc_priv->current == NULL. This
>>> is not what we want when 'ethrotate' variable is 'no'.
>>>
>>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>>
>> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
>
> Acked-by: Simon Glass <sjg at chromium.org>
> Tested on sandbox:
> Tested-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm/master, thanks!


More information about the U-Boot mailing list