generic: ar8216: don't use 0 as default VID on AR8327
VID0 is reserved for priority-tagged packets. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34862
This commit is contained in:
parent
fa9d06c7f4
commit
c3cb63661f
1 changed files with 3 additions and 1 deletions
|
@ -1125,7 +1125,9 @@ ar8327_init_port(struct ar8216_priv *priv, int port)
|
|||
|
||||
priv->write(priv, AR8327_REG_PORT_HEADER(port), 0);
|
||||
|
||||
priv->write(priv, AR8327_REG_PORT_VLAN0(port), 0);
|
||||
t = 1 << AR8327_PORT_VLAN0_DEF_SVID_S;
|
||||
t |= 1 << AR8327_PORT_VLAN0_DEF_CVID_S;
|
||||
priv->write(priv, AR8327_REG_PORT_VLAN0(port), t);
|
||||
|
||||
t = AR8327_PORT_VLAN1_OUT_MODE_UNTOUCH << AR8327_PORT_VLAN1_OUT_MODE_S;
|
||||
priv->write(priv, AR8327_REG_PORT_VLAN1(port), t);
|
||||
|
|
Loading…
Reference in a new issue