From 4b5057ec0f8c081389ed238d8758cd11a723cad2 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 11 May 2011 13:33:50 +0000 Subject: bcm63xx: Update support for the DSL-274xB revision C Rename the DSL-274xB rev C2's board ID to "AW4139" to match the one used for the rev C3 (same hardware) and add a fixup for C2. Also generate images for C3. While we are at it, rename the LEDs to conform to the Linux LED naming conventions. Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26876 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm63xx/base-files/etc/defconfig/96358GW/network | 14 -------------- .../linux/brcm63xx/base-files/etc/defconfig/AW4139/network | 14 ++++++++++++++ target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 7 ++++++- 3 files changed, 20 insertions(+), 15 deletions(-) delete mode 100644 target/linux/brcm63xx/base-files/etc/defconfig/96358GW/network create mode 100644 target/linux/brcm63xx/base-files/etc/defconfig/AW4139/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 deleted file mode 100644 index a35fd2ef9a..0000000000 --- a/target/linux/brcm63xx/base-files/etc/defconfig/96358GW/network +++ /dev/null @@ -1,14 +0,0 @@ -# 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/etc/defconfig/AW4139/network b/target/linux/brcm63xx/base-files/etc/defconfig/AW4139/network new file mode 100644 index 0000000000..a35fd2ef9a --- /dev/null +++ b/target/linux/brcm63xx/base-files/etc/defconfig/AW4139/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 71c188022c..b18386e0dd 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -39,11 +39,16 @@ brcm63xx_detect() { brcm63xx_has_reset_button="true" ifname=eth0 ;; - "bcm63xx/96358GW "* | "bcm63xx/SPW500V "*) + "bcm63xx/SPW500V "*) status_led="power:green" brcm63xx_has_reset_button="true" ifname=eth0 ;; + "bcm63xx/AW4139 "*) + status_led="dsl-274xb:green:power" + brcm63xx_has_reset_button="true" + ifname=eth0 + ;; "bcm63xx/CPVA642 "* ) status_led="power:green" brcm63xx_has_reset_button="true" -- cgit v1.2.3