4f765a9a46
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_7240.c | ||
arswitch_7240.h | ||
arswitch_8216.c | ||
arswitch_8216.h | ||
arswitch_8226.c | ||
arswitch_8226.h | ||
arswitch_8316.c | ||
arswitch_8316.h | ||
arswitch_8327.c | ||
arswitch_8327.h | ||
arswitch_9340.c | ||
arswitch_9340.h | ||
arswitch_phy.c | ||
arswitch_phy.h | ||
arswitch_reg.c | ||
arswitch_reg.h | ||
arswitch_vlans.c | ||
arswitch_vlans.h | ||
arswitch.c | ||
arswitchreg.h | ||
arswitchvar.h |