freebsd-nq/sys/dev/etherswitch/arswitch
Adrian Chadd 036e1c7646 Commit 802.1q configuration support for the AR8327.
This is slightly different to the other switches - the VLAN table
(VTU) programs in the vlan port mapping /and/ the port config
(tagged, untagged, passthrough, any.)

So:

* Add VTU operations to program the VTU (vlan table)
* abstract out the mirror-disable function so it's .. well, a function.
* setup the port to have a dot1q configuration for dot1q - the
  port security is VLAN (not per-port VLAN) and requires an entry
  in the VLAN table;
* add set_dot1q / get_dot1q to program the VLAN table;
* since the tagged/untagged ports are now programmed into the VTU,
  rather than global - plumb the ports /and/ untagged ports bitmaps
  through the arswitch API.

Tested:

* AP135 - QCA9558 SoC + AR8327N switch
2015-03-13 02:16:39 +00:00
..
arswitch_7240.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_7240.h
arswitch_8216.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_8216.h
arswitch_8226.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_8226.h
arswitch_8316.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_8316.h
arswitch_8327.c Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +00:00
arswitch_8327.h Add initial AR8327 support. 2014-02-24 04:47:16 +00:00
arswitch_9340.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_9340.h Initial commit of AR9340 switch SoC support. 2013-10-16 03:15:52 +00:00
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 Add mmd declaration. 2014-02-17 05:51:37 +00:00
arswitch_vlans.c Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +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