From 266880e2028a0e30efa41d525e54fd07c5f69a8f Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 21 Apr 2012 12:30:40 +0000 Subject: ramips: rt305x: add initial support for Tenda W306R V2.0 More device info at: http://wiki.openwrt.org/toh/tenda/w306r Signed-off-by: David Pearce [juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages from the profile, change broken GPIO number] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31396 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/uci-defaults/network | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/ramips/base-files/etc/uci-defaults/network') diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index dc2221f1e..81c12de27 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -55,6 +55,7 @@ ramips_setup_interfaces() ;; freestation5 | \ + w306r-v20 | \ wcr-150gn) ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1" ;; @@ -96,6 +97,11 @@ ramips_setup_macs() wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) ;; + w306r-v20) + lan_mac=$(ramips_get_mac_binary factory 4) + wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 5) + ;; + dir-300-b1 |\ dir-300-b2 |\ dir-600-b1) -- cgit v1.2.3