aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-05-20 10:06:22 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-05-20 10:06:22 +0000
commitc24a32df6f2165fc1b6a6038421eff222c1a488c (patch)
treec5051cb6a86e6826b35ad13aaa5d83e0ece87152 /target/linux/brcm63xx/base-files
parent4b5cddfaca0f7a6f090d25e81dfc42a2fef89c6f (diff)
downloadupstream-c24a32df6f2165fc1b6a6038421eff222c1a488c.tar.gz
upstream-c24a32df6f2165fc1b6a6038421eff222c1a488c.tar.bz2
upstream-c24a32df6f2165fc1b6a6038421eff222c1a488c.zip
[brcm63xx] add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26958 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/defconfig/D-4P-W/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/D-4P-W/network b/target/linux/brcm63xx/base-files/etc/defconfig/D-4P-W/network
new file mode 100644
index 0000000000..fa4844d1ac
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/defconfig/D-4P-W/network
@@ -0,0 +1,14 @@
+# Copyright (C) 2010 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 2c62928a55..d2ffabd176 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -59,6 +59,11 @@ brcm63xx_detect() {
brcm63xx_has_reset_button="true"
ifname=eth0
;;
+ "bcm63xx/D-4P-W "*)
+ status_led="power:green"
+ brcm63xx_has_reset_button="true"
+ ifname=eth0
+ ;;
*)
;;
esac