[U-Boot] [PATCH v3 06/16] drivers/net/vsc9953: Add default configuration for VSC9953 L2 Switch

Joe Hershberger joe.hershberger at gmail.com
Fri Aug 7 22:17:56 CEST 2015


Hi Codrin,

On Fri, Jul 24, 2015 at 8:55 AM, Codrin Ciubotariu
<codrin.ciubotariu at freescale.com> wrote:
> At startup, the default configuration should be:
>  - enable HW learning on all ports (HW default);
>  - all ports are VLAN aware;
>  - all ports are members of VLAN 1;
>  - all ports have Port-based VLAN 1;
>  - on all ports, the switch is allowed to remove
>    maximum one VLAN tag,
>  - on egress, the switch should add a VLAN tag if the
>    frame is classified to a different VLAN than the port's
>    Port-based VLAN;
>
> 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:
>         - moved the copyright update in the last patch;
>         - return -EBUSY if the VLAN table is not ready;
>         - each variable is declared on a new line, without tabs;
>         - renamed variable "set" to "set_member";
>         - removed unnecessary brackets;
>         - renamed some VSC9953_TAG_CFG_* macros;
>         - removed field_set() and field_get() macros;
>         - removed "CONFIG_" from some macros' name;
>         - removed "port_' from members of struct vsc9953_rew_port;
>         - modified a comment describing struct vsc9953_rew_reg;
>
>  drivers/net/vsc9953.c | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/vsc9953.h     |  56 +++++++++++
>  2 files changed, 309 insertions(+)

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


More information about the U-Boot mailing list