diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-01-04 14:47:57 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-01-04 14:47:57 +0000 |
commit | f537f292a3161a296f8d5166671e158cd09a9c14 (patch) | |
tree | 8478a1567fb081098a2e880648ece8bb71aca3a0 /target/linux/brcm63xx/base-files | |
parent | 555460453f8444094c3e3fa9c5917d0280bf4ce2 (diff) | |
download | upstream-f537f292a3161a296f8d5166671e158cd09a9c14.tar.gz upstream-f537f292a3161a296f8d5166671e158cd09a9c14.tar.bz2 upstream-f537f292a3161a296f8d5166671e158cd09a9c14.zip |
bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: added some code style fixes]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35011 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files')
3 files changed, 10 insertions, 1 deletions
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 c03ba4c6ec..eeb66e0d18 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 00914b3e3f..08b8558006 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 18df042610..999f775171 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" |