diff options
author | John Crispin <john@openwrt.org> | 2015-08-17 05:57:41 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-08-17 05:57:41 +0000 |
commit | f38db7770779e014909955bd693202ee20042c2e (patch) | |
tree | 0ae04c785b791808e01a0d6b79bfa1b3b4ac1e7d /target/linux/ramips/base-files/etc | |
parent | 553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5 (diff) | |
download | mtk-20170518-f38db7770779e014909955bd693202ee20042c2e.zip mtk-20170518-f38db7770779e014909955bd693202ee20042c2e.tar.gz mtk-20170518-f38db7770779e014909955bd693202ee20042c2e.tar.bz2 |
ramips: fix Zbtlink ZBT-WR8305RT board name
There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for ZBT-WR8305RT board and its dts file.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46614
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 8 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 2 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index c6bfd7e..bb990c9 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -245,10 +245,10 @@ case $board in ucidef_set_led_default "power" "power" "oy:green:power" "1" set_wifi_led "oy:green:wifi" ;; - wr8305rt) - ucidef_set_led_default "power" "power" "wr8305rt:sys" "1" - set_usb_led "wr8305rt:usb" - set_wifi_led "wr8305rt:wifi" + zbt-wr8305rt) + ucidef_set_led_default "power" "power" "zbt-wr8305rt:sys" "1" + set_usb_led "zbt-wr8305rt:usb" + set_wifi_led "zbt-wr8305rt:wifi" ;; wt1520) set_wifi_led "rt2800pci-phy0::radio" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index da1854a..42447d4 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -228,7 +228,7 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "2" "6t" ;; - wr8305rt) + zbt-wr8305rt) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4 6t" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index e63f0df..019bbbb 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -196,8 +196,8 @@ get_status_led() { wr512-3gn) status_led="wr512:green:wps" ;; - wr8305rt) - status_led="wr8305rt:sys" + zbt-wr8305rt) + status_led="zbt-wr8305rt:sys" ;; whr-300hp2 | \ whr-600d | \ |