lantiq: do not set default firmware file
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Mar 2016 11:03:18 +0000 (11:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 7 Mar 2016 11:03:18 +0000 (11:03 +0000)
We are now shipping a DSL firmware, do not set it by default to some
file name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48941

package/base-files/files/lib/functions/uci-defaults.sh
target/linux/lantiq/base-files/etc/board.d/02_network

index 512e0ed8bd9c15dd82560a847dde3420fcaa9b2c..31e468731ad7add2caffa1502dfd7da821e44b0a 100755 (executable)
@@ -335,15 +335,13 @@ ucidef_add_adsl_modem() {
 
 ucidef_add_vdsl_modem() {
        local annex="$1"
 
 ucidef_add_vdsl_modem() {
        local annex="$1"
-       local firmware="$2"
-       local tone="$3"
-       local xfer_mode="$4"
+       local tone="$2"
+       local xfer_mode="$3"
 
        json_select_object dsl
                json_select_object modem
                        json_add_string type "vdsl"
                        json_add_string annex "$annex"
 
        json_select_object dsl
                json_select_object modem
                        json_add_string type "vdsl"
                        json_add_string annex "$annex"
-                       json_add_string firmware "$firmware"
                        json_add_string tone "$tone"
                        json_add_string xfer_mode "$xfer_mode"
                json_select ..
                        json_add_string tone "$tone"
                        json_add_string xfer_mode "$xfer_mode"
                json_select ..
index 8ed525915d341e75c8b3c254c555ffc8420037e4..b27b8026df99e86208fe1ee94146b338415592d0 100755 (executable)
@@ -144,7 +144,7 @@ fi
 
 if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
        interface_wan="ptm0"
 
 if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
        interface_wan="ptm0"
-       ucidef_add_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm"
+       ucidef_add_vdsl_modem "$annex" "av" "ptm"
 else
        interface_wan="nas0"
        ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"
 else
        interface_wan="nas0"
        ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"