From 21d5df87002e26308d5158e5bd1bd3e6d5c2ef53 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 25 Nov 2012 14:25:27 +0000
Subject: ramips: add DIR-615 D userspace support

Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34331
---
 target/linux/ramips/base-files/lib/ramips.sh           | 3 +++
 target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 +
 2 files changed, 4 insertions(+)

(limited to 'target/linux/ramips/base-files/lib')

diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 3fbba15f6b..f9b874f8b9 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -92,6 +92,9 @@ ramips_board_name() {
 	*"DIR-615 H1")
 		name="dir-615-h1"
 		;;
+	*"DIR-615 D")
+		name="dir-615-d"
+		;;
 	*"DIR-645")
 		name="dir-645"
 		;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 94db99b700..0b53d7e7c6 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -24,6 +24,7 @@ platform_check_image() {
 	dir-600-b1 | \
 	dir-600-b2 | \
 	dir-615-h1 | \
+	dir-615-d | \
 	dir-620-a1 | \
 	dap-1350 | \
 	esr-9753 | \
-- 
cgit v1.2.3