From e952eaa112417637d67f1774e641c1cade49ed23 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 4 Jan 2013 14:47:57 +0000 Subject: bcm63xx: Add Huawei HG556a support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Huawei EchoLife HG556a support. Signed-off-by: Álvaro Fernández Rojas [jogo@openwrt.org: added some code style fixes] Signed-off-by: Jonas Gorski SVN-Revision: 35011 --- .../brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 5 ++++- target/linux/brcm63xx/base-files/etc/uci-defaults/network | 1 + target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'target/linux/brcm63xx/base-files') diff --git a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index c03ba4c..eeb66e0 100644 --- a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -29,8 +29,11 @@ rt2x00_eeprom_extract() { board=$board_name case "$FIRMWARE" in -"RT3062.eeprom" ) +"rt2x00.eeprom" ) case $board in + HW556_A) + rt2x00_eeprom_extract "cal_data" 130560 272 + ;; *) rt2x00_eeprom_die "board $board is not supported yet" ;; diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/network b/target/linux/brcm63xx/base-files/etc/uci-defaults/network index 00914b3..08b8558 100755 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/network +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/network @@ -27,6 +27,7 @@ CPVA642 |\ CT536_CT5621 |\ D-4P-W |\ "F@ST2604" |\ +HW556* |\ NB6 |\ SPW303V |\ SPW500V |\ diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 18df042..999f775 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -56,6 +56,11 @@ brcm63xx_detect() { brcm63xx_has_reset_button="true" ifname=eth1 ;; + HW556*) + status_led="HW556:red:power" + brcm63xx_has_reset_button="true" + ifname=eth0 + ;; 96348GW-11) status_led="power" brcm63xx_has_reset_button="true" -- cgit v1.1