freebsd-skq/sys/dev/etherswitch/arswitch
adrian 4f765a9a46 AR8327: Fix up the ability to configure the vlangroup configuration for the CPU port
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
2015-10-20 21:18:02 +00:00
..
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 AR8327: Fix up the ability to configure the vlangroup configuration for the CPU port 2015-10-20 21:18:02 +00:00
arswitch_8327.h
arswitch_9340.c
arswitch_9340.h
arswitch_phy.c Fix up support for the AR8327. 2015-03-08 03:53:36 +00:00
arswitch_phy.h Fix up support for the AR8327. 2015-03-08 03:53:36 +00:00
arswitch_reg.c Fix up support for the AR8327. 2015-03-08 03:53:36 +00:00
arswitch_reg.h
arswitch_vlans.c Turns out the AR933x looks like the AR7240/AR7241 switch as far as VLAN 2015-03-28 23:20:46 +00:00
arswitch_vlans.h Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +00:00
arswitch.c Methodise a couple more of the VLAN methods. 2015-03-08 23:02:15 +00:00
arswitchreg.h Add per-port vlan support for the AR8327. 2015-03-08 21:59:03 +00:00
arswitchvar.h Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +00:00