summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-14 13:41:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-14 13:41:42 +0000
commitfc035b3cb6c0768fe7b184d170bf33294895abb0 (patch)
treea43bdc4aca0a6a5e03c7a5f73eadbe86c144dd3d /target/linux/ar71xx/base-files
parent4b16a5ba978525f0a3eabc9f6b3dab01b0ba9b31 (diff)
downloadmtk-20170518-fc035b3cb6c0768fe7b184d170bf33294895abb0.zip
mtk-20170518-fc035b3cb6c0768fe7b184d170bf33294895abb0.tar.gz
mtk-20170518-fc035b3cb6c0768fe7b184d170bf33294895abb0.tar.bz2
ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
SVN-Revision: 23439
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/rb-750/network14
1 files changed, 9 insertions, 5 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/rb-750/network b/target/linux/ar71xx/base-files/etc/defconfig/rb-750/network
index 113d9f3..de201bf 100644
--- a/target/linux/ar71xx/base-files/etc/defconfig/rb-750/network
+++ b/target/linux/ar71xx/base-files/etc/defconfig/rb-750/network
@@ -4,12 +4,8 @@ config interface loopback
option ipaddr 127.0.0.1
option netmask 255.0.0.0
-config interface eth
- option ifname eth0
- option proto none
-
config interface lan
- option ifname 'port2 port3 port4 port5'
+ option ifname eth0
option type bridge
option proto static
option ipaddr 192.168.1.1
@@ -18,3 +14,11 @@ config interface lan
config interface wan
option ifname eth1
option proto dhcp
+
+config switch eth0
+ option enable_vlan 1
+
+config switch_vlan
+ option device eth0
+ option vlan 1
+ option ports "0 1 2 3 4"