add support for the Linksys E1700

SVN-Revision: 43186
This commit is contained in:
Imre Kaloz
2014-11-05 14:37:13 +00:00
parent d82cf547d0
commit d738d22bf8
7 changed files with 178 additions and 0 deletions

View File

@@ -221,6 +221,7 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
e1700 | \
mt7620a_mt7530)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch1" "1" "1"
@@ -302,6 +303,10 @@ ramips_setup_macs()
wan_mac=$(mtd_get_mac_ascii nvram wanmac)
;;
e1700)
wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR)
;;
wcr-150gn)
wan_mac=$(mtd_get_mac_binary factory 40)
;;