-
- Downloads
ramips: Add swconfig support to ramips_esw.c
Add swconfig support to ramips_esw.c
This patch adds swconfig support for ramips_esw:
Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.
The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.
Signed-off-by:
Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33299
Showing
- target/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig 1 addition, 0 deletions...et/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig
- target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c 754 additions, 35 deletions...nux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c
Loading
Please register or sign in to comment