ramips: add Poray M4 4M/8M support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
This commit is contained in:
John Crispin
2013-08-01 14:30:58 +00:00
parent 23d3b705df
commit 0dc3b44b0d
9 changed files with 222 additions and 2 deletions

View File

@@ -55,6 +55,9 @@ get_status_led() {
m3)
status_led="m3:blue:status"
;;
m4)
status_led="m4:blue:status"
;;
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;

View File

@@ -226,7 +226,8 @@ ramips_setup_macs()
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
m3)
m3 |\
m4)
lan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(macaddr_add "$lan_mac" -1)
;;