openwrtv4/target/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig
Gabor Juhos 3b17f1deb8 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
2012-08-29 10:37:36 +00:00

18 lines
513 B
Text

config NET_RAMIPS
tristate "Ralink RT288X/RT3X5X/RT3662/RT3883 ethernet driver"
depends on MIPS_RALINK
select PHYLIB if (SOC_RT288X || SOC_RT3883)
select SWCONFIG if SOC_RT305X
help
This driver supports the etehrnet mac inside the ralink wisocs
if NET_RAMIPS
config NET_RAMIPS_DEBUG
bool "Enable debug messages in the Ralink ethernet driver"
config NET_RAMIPS_DEBUG_FS
bool "Enable debugfs support for the Ralink ethernet driver"
depends on DEBUG_FS
endif