From a9c5e3159f161304e62dffebb290059f121abe14 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 18 Jan 2010 09:01:47 +0000 Subject: 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 --- .../base-files/etc/defconfig/dir-825-b1/network | 10 +++++++++ .../base-files/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 (limited to 'target/linux/ar71xx') 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" -- cgit v1.2.3