From 67c7980290d77042de0157d7611da5a23cd643a3 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. SVN-Revision: 29557 --- 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 f9419b9..c35df46 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.1