From 6c8387fe1565127b5e366fd89d00350441ba7cd4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 20 May 2011 10:06:22 +0000 Subject: add support for DSL-2640B rev B2 Signed-off-by: Adrian Feliks SVN-Revision: 26958 --- .../linux/brcm63xx/base-files/etc/defconfig/D-4P-W/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/D-4P-W/network (limited to 'target/linux/brcm63xx/base-files') 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 -- cgit v1.2.3