From d26482830ebe68452ed97ed36192abbb543d00d5 Mon Sep 17 00:00:00 2001 From: cshore Date: Sun, 28 Nov 2010 22:04:36 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm63xx/base-files/etc/defconfig/96358GW/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/96358GW/network (limited to 'target/linux/brcm63xx/base-files') 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 -- cgit v1.2.3