From 9c8a2d5961589bfb83f27d1afa48f751cf597fc4 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Wed, 11 May 2011 13:34:14 +0000
Subject: bcm63xx: Add support for the T-Home Speedport W 303V

Add the required board definition, default config and image generation for
the T-Home Speedport W 303V Typ B.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26878
---
 .../brcm63xx/base-files/etc/defconfig/96358-502V/network   | 14 ++++++++++++++
 target/linux/brcm63xx/base-files/lib/brcm63xx.sh           |  5 +++++
 2 files changed, 19 insertions(+)
 create mode 100644 target/linux/brcm63xx/base-files/etc/defconfig/96358-502V/network

(limited to 'target/linux/brcm63xx/base-files')

diff --git a/target/linux/brcm63xx/base-files/etc/defconfig/96358-502V/network b/target/linux/brcm63xx/base-files/etc/defconfig/96358-502V/network
new file mode 100644
index 0000000000..a35fd2ef9a
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/defconfig/96358-502V/network
@@ -0,0 +1,14 @@
+# Copyright (C) 2006 OpenWrt.org
+
+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
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index b18386e0dd..2c62928a55 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -49,6 +49,11 @@ brcm63xx_detect() {
 		brcm63xx_has_reset_button="true"
 		ifname=eth0
 		;;
+	"bcm63xx/96358-502V "*)
+		status_led="spw303v:green:power+adsl"
+		brcm63xx_has_reset_button="true"
+		ifname=eth0
+		;;
 	"bcm63xx/CPVA642 "* )
 		status_led="power:green"
 		brcm63xx_has_reset_button="true"
-- 
cgit v1.2.3