On 3 March 2015 at 19:41, Joe Hershberger <joe.hershber...@ni.com> wrote:
> Allow network devices to be referred to as "eth0" instead of
> "eth@12345678" when specified in ethact.
>
> Add tests to verify this behavior.
>
> Signed-off-by: Joe Hershberger <joe.hershber...@ni.com>
> Reviewed-by: Simon Glass <s...@chromium.org>
>
> ---
>
> Changes in v5:
> -Added a comment about devname
> -Only check for alias if the name is long enough

Reviewed-by: Simon Glass <s...@chromium.org>


>
> Changes in v4:
> -Use only the seq from DM to find aliases
>
> Changes in v3:
> -Added support for aliases
>
> Changes in v2: None
>
>  include/configs/sandbox.h |  2 +-
>  include/net.h             |  5 +++++
>  net/eth.c                 | 50 
> ++++++++++++++++++++++++++++++++++++++---------
>  test/dm/eth.c             | 24 +++++++++++++++++++++++
>  test/dm/test.dts          |  4 +++-
>  5 files changed, 74 insertions(+), 11 deletions(-)
>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to