summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-05-11 13:34:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-05-11 13:34:14 +0000
commit9c8a2d5961589bfb83f27d1afa48f751cf597fc4 (patch)
treef3dcdc4ece73f602278b4f6b3c2e607c77f0af15 /target/linux/brcm63xx/base-files
parentdce13b8c4d79501b6527774da9374592e1e21daf (diff)
downloadmtk-20170518-9c8a2d5961589bfb83f27d1afa48f751cf597fc4.zip
mtk-20170518-9c8a2d5961589bfb83f27d1afa48f751cf597fc4.tar.gz
mtk-20170518-9c8a2d5961589bfb83f27d1afa48f751cf597fc4.tar.bz2
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
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/defconfig/96358-502V/network14
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh5
2 files changed, 19 insertions, 0 deletions
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 0000000..a35fd2e
--- /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 b18386e..2c62928 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"