lantiq: do not set default firmware file

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
This commit is contained in:
Felix Fietkau 2016-03-07 11:03:18 +00:00
parent a937e160c8
commit 4ac99abeb3
2 changed files with 3 additions and 5 deletions

View file

@ -335,15 +335,13 @@ ucidef_add_adsl_modem() {
ucidef_add_vdsl_modem() { ucidef_add_vdsl_modem() {
local annex="$1" local annex="$1"
local firmware="$2" local tone="$2"
local tone="$3" local xfer_mode="$3"
local xfer_mode="$4"
json_select_object dsl json_select_object dsl
json_select_object modem json_select_object modem
json_add_string type "vdsl" json_add_string type "vdsl"
json_add_string annex "$annex" json_add_string annex "$annex"
json_add_string firmware "$firmware"
json_add_string tone "$tone" json_add_string tone "$tone"
json_add_string xfer_mode "$xfer_mode" json_add_string xfer_mode "$xfer_mode"
json_select .. json_select ..

View file

@ -144,7 +144,7 @@ fi
if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
interface_wan="ptm0" interface_wan="ptm0"
ucidef_add_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm" ucidef_add_vdsl_modem "$annex" "av" "ptm"
else else
interface_wan="nas0" interface_wan="nas0"
ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin" ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"