diff options
author | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-04 14:47:57 +0000 |
---|---|---|
committer | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-04 14:47:57 +0000 |
commit | b0c25645e53f791c0b72d42f0f0ac22f3e1ed60a (patch) | |
tree | 8478a1567fb081098a2e880648ece8bb71aca3a0 /target/linux/brcm63xx/base-files | |
parent | 812b787e7b06cc4dd0091d773404a4d01ddb1b15 (diff) |
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 c03ba4c6e..eeb66e0d1 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 00914b3e3..08b855800 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 18df04261..999f77517 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" |