aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-18 09:01:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-18 09:01:47 +0000
commita9c5e3159f161304e62dffebb290059f121abe14 (patch)
tree790dac5cd2e274330a3f7831bd711a53ccbecf38
parent71d0a7a7bff7cc52d319f2db0309628318abe0e5 (diff)
downloadupstream-a9c5e3159f161304e62dffebb290059f121abe14.tar.gz
upstream-a9c5e3159f161304e62dffebb290059f121abe14.tar.bz2
upstream-a9c5e3159f161304e62dffebb290059f121abe14.zip
ar71xx: update default network configuration for the WNDR3700/DIR-825-B1
Also drop the default network configuration of the TL-WR1043ND, because the RTL8366RB switch is not yet supported by the rtl8366-smi driver. SVN-Revision: 19217
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network10
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/tl-wr1043nd/network26
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network10
3 files changed, 20 insertions, 26 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network b/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network
index 2d4d8e0121..7916286ec5 100644
--- a/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network
+++ b/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network
@@ -14,3 +14,13 @@ config interface lan
config interface wan
option ifname eth1
option proto dhcp
+
+config switch
+ option name rtl8366-smi
+ option reset 1
+ option enable_vlan 1
+
+config switch_vlan
+ option device rtl8366-smi
+ option vlan 0
+ option ports "0 1 2 3 5"
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr1043nd/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr1043nd/network
deleted file mode 100644
index 7916286ec5..0000000000
--- a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr1043nd/network
+++ /dev/null
@@ -1,26 +0,0 @@
-config interface loopback
- option ifname lo
- option proto static
- option ipaddr 127.0.0.1
- option netmask 255.0.0.0
-
-config interface lan
- option ifname eth0
- option type bridge
- option proto static
- option ipaddr 192.168.1.1
- option netmask 255.255.255.0
-
-config interface wan
- option ifname eth1
- option proto dhcp
-
-config switch
- option name rtl8366-smi
- option reset 1
- option enable_vlan 1
-
-config switch_vlan
- option device rtl8366-smi
- option vlan 0
- option ports "0 1 2 3 5"
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network b/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network
index 2d4d8e0121..7916286ec5 100644
--- a/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network
+++ b/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network
@@ -14,3 +14,13 @@ config interface lan
config interface wan
option ifname eth1
option proto dhcp
+
+config switch
+ option name rtl8366-smi
+ option reset 1
+ option enable_vlan 1
+
+config switch_vlan
+ option device rtl8366-smi
+ option vlan 0
+ option ports "0 1 2 3 5"