summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-28 22:04:36 +0000
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-28 22:04:36 +0000
commitd26482830ebe68452ed97ed36192abbb543d00d5 (patch)
tree57bd26617c9059e2a3a6e343584ce196e13f81c1 /target/linux/brcm63xx/base-files
parent36faccabad3949010df40117623f50120e4616a0 (diff)
bcm63xx: Finalize support for DSL-274xB, rev C2.
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition, resulting in a kernel panic on boot. This patch adds it, and also renames the generated image name to properly reflect that it is for the revision C2, and for both the DSL-2740B and DSL-2741B. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/defconfig/96358GW/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/96358GW/network b/target/linux/brcm63xx/base-files/etc/defconfig/96358GW/network
new file mode 100644
index 000000000..a35fd2ef9
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/defconfig/96358GW/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 7b46b5a16..bacd6665f 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -25,6 +25,11 @@ brcm63xx_detect() {
brcm63xx_has_reset_button="true"
ifname=eth1
;;
+ "bcm63xx/96358GW "*)
+ status_led="power:green"
+ brcm63xx_has_reset_button="true"
+ ifname=eth0
+ ;;
*)
;;
esac