1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 09:21:53 +02:00
openwrt-xburst/target/linux/ramips/files/drivers/net/ethernet/ramips/Kconfig
juhosg 746f915308 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:36 +00:00

19 lines
513 B
Plaintext

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