From 7d3b7358543a30baf340c0c0cb5050bec3f431f5 Mon Sep 17 00:00:00 2001 From: Florian Fainelli 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 SVN-Revision: 26876 --- .../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 a35fd2e..0000000 --- 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 0000000..a35fd2e --- /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 71c1880..b18386e 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.1