From 8ce4375c1a088f26f6a42f7eb44963b91f63f132 Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 18 Jan 2010 09:01:47 +0000
Subject: [PATCH] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19217 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 .../etc/defconfig/dir-825-b1/network          | 10 +++++++
 .../etc/defconfig/tl-wr1043nd/network         | 26 -------------------
 .../base-files/etc/defconfig/wndr3700/network | 10 +++++++
 3 files changed, 20 insertions(+), 26 deletions(-)
 delete mode 100644 target/linux/ar71xx/base-files/etc/defconfig/tl-wr1043nd/network

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 2d4d8e012..7916286ec 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 7916286ec..000000000
--- 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 2d4d8e012..7916286ec 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"
-- 
2.20.1