[U-Boot] [PATCH v3 10/16] drivers/net/vsc9953: Add commands to enable/disable HW learning

Joe Hershberger joe.hershberger at gmail.com
Fri Aug 7 22:18:21 CEST 2015


Hi Codrin,

On Fri, Jul 24, 2015 at 8:55 AM, Codrin Ciubotariu
<codrin.ciubotariu at freescale.com> wrote:
> The command:
> ethsw [port <port_no>] learning { [help] | show | auto | disable }
>
> can be used to enable/disable HW learning on a port.
> This patch also adds this command to the generic ethsw parser from
> cmd_ethsw.
>
> Signed-off-by: Johnson Leung <johnson.leung at freescale.com>
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu at freescale.com>
> ---
>
> Changes for v2:
>         - removed Change-id field;
>
> Changes for v3:
>         - replaced values returned by functions called by the parser with CMD_RET_* macros;
>         - removed "CONFIG_" from macros added in vsc9953.h;
>         - each variabled is declared on a separate line, with one space instead of tab(s);
>
>  common/cmd_ethsw.c    |  60 +++++++++++++++++++++
>  drivers/net/vsc9953.c | 141 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/ethsw.h       |   4 ++
>  include/vsc9953.h     |   6 +++
>  4 files changed, 211 insertions(+)

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list