summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g301nh/network
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-12 09:29:10 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-12 09:29:10 +0000
commitb47906964d49b129ea92df095b514e950b47cdfd (patch)
tree0c99c669aa1e4bd20a770e7661c3343f84472323 /target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g301nh/network
parentc67c0978c5e0be0e596c9111b63a156284584505 (diff)
ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S. Since we don't do runtime detection of the switch, we need a separate machine definition for it. While we are at it, also rename the profile to reflect that it now is for more than one device. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g301nh/network')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g301nh/network26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g301nh/network b/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g301nh/network
new file mode 100644
index 000000000..72a4c881d
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g301nh/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.1
+ 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 rtl8366rb
+ option reset 1
+ option enable_vlan 1
+
+config switch_vlan
+ option device rtl8366rb
+ option vlan 1
+ option ports "0 1 2 3 5t"