summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-11-28 22:04:36 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-11-28 22:04:36 +0000
commitc51d772e62a57c3659fca01b95f930ba6288b9e7 (patch)
tree5b06b94dcea5bf043115b541754b7eda75ea13e0 /target/linux/brcm63xx/base-files
parent8fa9b24a4c7635158758d69ee4c804a24e0e20d7 (diff)
downloadmtk-20170518-c51d772e62a57c3659fca01b95f930ba6288b9e7.zip
mtk-20170518-c51d772e62a57c3659fca01b95f930ba6288b9e7.tar.gz
mtk-20170518-c51d772e62a57c3659fca01b95f930ba6288b9e7.tar.bz2
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> SVN-Revision: 24188
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 0000000..a35fd2e
--- /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 7b46b5a..bacd666 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