From e5d5ffcbc26c308f6b3cf5506c5161e4a67a45a3 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 15 Dec 2011 22:25:38 +0000 Subject: ar71xx: connect GMAC0 to the internal switch on DB120 Because the external switch has no driver yet, connect GMAC0 to the PHY4 of the internal switch for now. This allows to use the DB120 board as a router with 4LAN+1WAN ports. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/network | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/ar71xx/base-files') diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index f9419b9866..c35df463f3 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -19,6 +19,12 @@ all0258n) ucidef_set_interface_lan "eth0 eth1" ;; +db120) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" + ;; + dir-825-b1) ucidef_set_interfaces_lan_wan "eth0.1" "eth1" ucidef_add_switch "rtl8366s" "1" "1" -- cgit v1.2.3