freebsd-nq/sys/dev/etherswitch
Adrian Chadd 03b5d8277b (I think!) make the AR8327 switch correctly handle traffic.
This patch does four things:

* it globally disables mirroring;
* it globally sets the mirroring on each port to be disabled;
* the initial port setup now programs a portmask for the port to allow
  transmission (forwarding) to all other ports bar itself;
* the vlan setup path now programs the portmask for the port to
  allow transmission (forwarding) to all other ports bar itself.

Before this, I hard-coded the portmask to 0x3f which would mean all
ports (bar port 6, which currently isn't hooked up to anything.)
This means that traffic would be duplicated back out the port it
received it.  I bet this wasn't .. optimal.

In any case, this _seems_ to make DHCP from my macosx laptop
work through this access point.  I'll do some further testing
to ensure it's actually working correctly on all my devices.

Tested:

* DB120, AR8327 switch
2014-03-01 10:04:31 +00:00
..
arswitch (I think!) make the AR8327 switch correctly handle traffic. 2014-03-01 10:04:31 +00:00
ip17x Add missing includes and remove two unused ones. 2014-02-27 21:01:10 +00:00
rtl8366 Fix the build of TP-WN1043ND kernel. Provide necessary includes and remove 2013-10-29 15:45:11 +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