From e4d21e039947af35a6b85f92ce86e7be4beeaac3 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Thu, 3 Dec 2009 15:07:34 +0000
Subject: ar71xx: add support for the D-Link DIR-825 rev. B1 board (thanks to
 ValXdater)

SVN-Revision: 18621
---
 .../ar71xx/base-files/etc/defconfig/dir825b1/network     | 16 ++++++++++++++++
 target/linux/ar71xx/base-files/etc/diag.sh               |  3 +++
 2 files changed, 19 insertions(+)
 create mode 100644 target/linux/ar71xx/base-files/etc/defconfig/dir825b1/network

(limited to 'target/linux/ar71xx/base-files/etc')

diff --git a/target/linux/ar71xx/base-files/etc/defconfig/dir825b1/network b/target/linux/ar71xx/base-files/etc/defconfig/dir825b1/network
new file mode 100644
index 0000000..2d4d8e0
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/dir825b1/network
@@ -0,0 +1,16 @@
+config interface loopback
+	option ifname	lo
+	option proto	static
+	option ipaddr	127.0.0.1
+	option netmask	255.0.0.0
+
+config interface lan
+	option ifname	eth0
+	option type	bridge
+	option proto	static
+	option ipaddr	192.168.1.1
+	option netmask	255.255.255.0
+
+config interface wan
+	option ifname	eth1
+	option proto	dhcp
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 1d88f43..c350f2c 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -42,6 +42,9 @@ get_status_led() {
 	bullet-m | rocket-m | nano-m)
 		status_led="ubnt:green:link4"
 		;;
+	dir825b1)
+		status_led="dir825b1:orange:power"
+		;;
 	ls-sr71)
 		status_led="ubnt:green:d22"
 		;;
-- 
cgit v1.1