aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-23 14:27:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-23 14:27:10 +0000
commit2cb946f5b4ebb720739b4dbb80c7821843f22ee5 (patch)
treee47c13a3c4236f3b7972ea14405b1afc5f7d1708 /target/linux/ramips/base-files/lib
parent03bce343840c3936cce79e42a8e6973870807aea (diff)
downloadupstream-2cb946f5b4ebb720739b4dbb80c7821843f22ee5.tar.gz
upstream-2cb946f5b4ebb720739b4dbb80c7821843f22ee5.tar.bz2
upstream-2cb946f5b4ebb720739b4dbb80c7821843f22ee5.zip
ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com> SVN-Revision: 29603
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
2 files changed, 4 insertions, 1 deletions
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 0518b7be94..eade567c39 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
@@ -8,7 +8,7 @@ preinit_set_mac_address() {
. /lib/ramips.sh
case $(ramips_board_name) in
- bc2 | nw718)
+ bc2 | nw718 | esr-9753)
mac=$(ramips_get_mac_binary factory 4)
mac=$(maccalc or "$mac" "02:00:00:00:00:00")
ifconfig eth0 hw ether $mac 2>/dev/null
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 7d45bde096..faed42162c 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -62,6 +62,9 @@ ramips_board_name() {
*"DIR-600 B2")
name="dir-600-b2"
;;
+ *"ESR-9753")
+ name="esr-9753"
+ ;;
*"F5D8235 v2")
name="f5d8235-v2"
;;