summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-17 17:56:05 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-17 17:56:05 +0000
commitcf26194ba9f7e1ce7a9b96191b814b04b4cee3a3 (patch)
tree6ea325aa2675595fe748283658f6d43dd321f643 /target/linux/ramips/base-files/lib
parentdc20bb23a2d0e932a095b179cb82067cb27ed164 (diff)
ramips: add support for D-Link DIR-615 H1
rt2x00 still needs some patching as the radio doesn't come to life. Installation via webflash. [juhosg: fix whitespace issues, remove rt305x_register_usb from machine setup because the board has no USB port] Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 6 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 a6c88ed961..7709b3b474 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
@@ -35,7 +35,8 @@ preinit_set_mac_address() {
ifconfig eth0 hw ether $mac 2>/dev/null
;;
all0256n |\
- all5002 | \
+ all5002 |\
+ dir-615-h1 |\
fonera20n |\
hw550-3g |\
nbg-419n |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 8dcda484a6..fb2a573bf3 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -83,6 +83,9 @@ ramips_board_name() {
*"DIR-620 A1")
name="dir-620-a1"
;;
+ *"DIR-615 H1")
+ name="dir-615-h1"
+ ;;
*"DAP-1350")
name="dap-1350"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 2548e1d6da..1b5d546439 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-300-b1 | \
dir-600-b1 | \
dir-600-b2 | \
+ dir-615-h1 | \
dir-620-a1 | \
dap-1350 | \
esr-9753 | \