[PATCH v2 01/10] net: eth-uclass: eth_get_dev based on SEQ_ALIAS instead of probe order

Simon Glass sjg at chromium.org
Tue Feb 18 19:31:21 CET 2020


Hi Keerthy,

On Mon, 17 Feb 2020 at 22:10, Keerthy <j-keerthy at ti.com> wrote:
>
> In case of multiple eth interfaces currently eth_get_dev
> fetches the device based on the probe order which can be
> random hence try with the alias.
>
> Signed-off-by: Keerthy <j-keerthy at ti.com>
> ---
>
> Changes in v2:
>
>   * Fixed comments from Tom & Lokesh as per:
>     https://patchwork.ozlabs.org/patch/1142697/
>
>  net/eth-uclass.c | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)

This one is for Joe to review.

But please do add/update the network tests to cover this behaviour.

Regards,
Simon


More information about the U-Boot mailing list