aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-04-09 08:40:09 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-04-09 08:40:09 +0000
commitda7993d9f857f10427b74630e9250ca50ef65019 (patch)
tree4a0422ec8f139372461c0da81ef318ac8ba85ffe /target/linux/ar71xx/base-files/etc
parent74f5972ab6aacc60511cc3b9fb0dc3903fe6e549 (diff)
downloadupstream-da7993d9f857f10427b74630e9250ca50ef65019.tar.gz
upstream-da7993d9f857f10427b74630e9250ca50ef65019.tar.bz2
upstream-da7993d9f857f10427b74630e9250ca50ef65019.zip
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/dir-615-c1/network26
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/tew-632brp/network10
2 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/dir-615-c1/network b/target/linux/ar71xx/base-files/etc/defconfig/dir-615-c1/network
new file mode 100644
index 0000000000..a2204d4a34
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/dir-615-c1/network
@@ -0,0 +1,26 @@
+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 eth0
+ option reset 1
+ option enable_vlan 1
+
+config switch_vlan
+ option device eth0
+ option vlan 1
+ option ports '0 1 2 3 4'
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tew-632brp/network b/target/linux/ar71xx/base-files/etc/defconfig/tew-632brp/network
index 2d4d8e0121..a2204d4a34 100644
--- a/target/linux/ar71xx/base-files/etc/defconfig/tew-632brp/network
+++ b/target/linux/ar71xx/base-files/etc/defconfig/tew-632brp/network
@@ -14,3 +14,13 @@ config interface lan
config interface wan
option ifname eth1
option proto dhcp
+
+config switch
+ option name eth0
+ option reset 1
+ option enable_vlan 1
+
+config switch_vlan
+ option device eth0
+ option vlan 1
+ option ports '0 1 2 3 4'