8f1cf028d3
I messed up when doing the reset_vlans method - setting vid[0] = 1 here was making it 'hidden' from configuration (as it needed ETHERSWITCH_VID_VALID as well) and so there was no way to configure vlangroup0. In per-port VLAN mode, vlangroup0 is for the CPU port (port0). Now, it normally wouldn't really matter - the CPU port thus sees all other ports. However there are two CPU ports on the AR8327 and so port0 (arge0) was seeing all traffic on port6 (arge1). If you thus tried to use arge1/port6 for anything (eg a WAN port) in a bridge group then things would very upset very quickly. Whilst here, add a comment to remind myself that yes, it'd be nice if we could specify a boot-time switch config. Tested: * AP135 reference platform w/ AR8327N switch |
||
---|---|---|
.. | ||
arswitch | ||
ip17x | ||
rtl8366 | ||
ukswitch | ||
etherswitch_if.m | ||
etherswitch.c | ||
etherswitch.h | ||
mdio_if.m | ||
mdio.c | ||
mdio.h | ||
miiproxy.c | ||
miiproxy.h |