freebsd-skq/sys/dev/etherswitch
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 Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +00:00
ip17x Fix the build with debug enabled and remove a variable used only at switch 2014-05-09 13:21:34 +00:00
rtl8366 Revert r268543. 2014-07-12 06:23:42 +00:00
ukswitch - Provide necessary includes. 2013-10-29 11:17:49 +00:00
etherswitch_if.m Add the ability to change the vlan operation mode. 2013-05-08 20:46:54 +00:00
etherswitch.c Add the ability to change the vlan operation mode. 2013-05-08 20:46:54 +00:00
etherswitch.h Add a new flag (ETHERSWITCH_VID_VALID) to say what vlangroups are in use. 2013-07-23 13:56:38 +00:00
mdio_if.m
mdio.c
mdio.h
miiproxy.c - Provide necessary includes, that before came via if.h pollution. 2013-10-28 22:26:03 +00:00
miiproxy.h