summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-14 13:41:42 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-14 13:41:42 +0000
commita63bf2580b863d161183c388d9f2f81e48f9344b (patch)
tree216d7238b325d3ecd66fa037a8a093375fe7f238 /target/linux/ar71xx/base-files
parent1ee0813a713bcc9d88e55ea18aaa7d45b68ecdcc (diff)
ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23439 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 113d9f3ee..de201bf5e 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"