diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-29 16:03:04 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-29 16:03:04 +0000 |
commit | 8600b97ee65ecd97461508bf0e67de06707a2e59 (patch) | |
tree | 1bcc1eb8818102a6469cf3cfcf9be6b4acb938e9 /target/linux/ramips/base-files | |
parent | 62249258d3a4fcb286ca4b1cee723563d09fc228 (diff) |
ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31144 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 7bd58d5fac..62788cde48 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -53,6 +53,7 @@ case "$FIRMWARE" in bc2 | \ esr-9753 | \ fonera20n | \ + freestation5 | \ hw550-3g | \ mofi3500-3gn | \ pwh2004 | \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index a17fad8e98..dc2221f1e7 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -54,8 +54,9 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "2" "4 8t" ;; + freestation5 | \ wcr-150gn) - ucidef_set_interface_lan_wan "eth0.2" "eth0.1" + ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1" ;; wli-tx4-ag300n) diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index 90c327a2ed..f523d690d4 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -10,6 +10,7 @@ preinit_set_mac_address() { case $(ramips_board_name) in bc2 |\ esr-9753 |\ + freestation5 |\ nw718 |\ rt-n56u |\ sl-r7205) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 6e1da23040..1298ebda93 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -50,6 +50,9 @@ ramips_board_name() { *"Allnet ALL0256N") name="all0256n" ;; + *"ARC FreeStation5") + name="freestation5" + ;; *"Argus ATP-52B") name="argus-atp52b" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 4d0bb19c77..7f500d9796 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -21,6 +21,7 @@ platform_check_image() { dir-600-b2 | \ esr-9753 | \ fonera20n | \ + freestation5 | \ hw550-3g | \ mofi3500-3gn | \ nbg-419n | \ |