ralink: add support for 2 new mt7620 boards made by buffalo

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38550
This commit is contained in:
John Crispin
2013-10-28 06:47:31 +00:00
parent c81c814d6a
commit 43de7c1cfa
8 changed files with 300 additions and 0 deletions

View File

@@ -145,6 +145,11 @@ case $board in
ucidef_set_led_netdev "eth" "Network" "asus:white:back" "eth0"
set_wifi_led "asus:blue:wifi"
;;
whr-300hp2 |\
whr-600d)
ucidef_set_led_default "power" "power" "buffalo:green:power" "1"
ucidef_set_led_default "router" "router" "buffalo:green:router" "1"
;;
esac
ucidef_commit_leds

View File

@@ -146,6 +146,11 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
whr-300hp2 |\
whr-600d)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
;;
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then