mirror of https://github.com/hak5/openwrt.git
lantiq: board.d: use auto xfer_mode as default
If xfer_mode is set to auto the vdsl_cpe_control daemon assumes that ATM should be used for ADSL and PTM for VDSL. Signed-off-by: Martin Schiller <ms@dev.tdt.de>openwrt-18.06
parent
2da6c85c80
commit
c8904e9c04
|
@ -12,6 +12,8 @@ board_config_update
|
||||||
vpi=1
|
vpi=1
|
||||||
vci=32
|
vci=32
|
||||||
annex="a"
|
annex="a"
|
||||||
|
tone="av"
|
||||||
|
xfer_mode=""
|
||||||
encaps="llc"
|
encaps="llc"
|
||||||
payload="bridged"
|
payload="bridged"
|
||||||
lan_mac=""
|
lan_mac=""
|
||||||
|
@ -198,7 +200,7 @@ ls /lib/modules/$(uname -r)/ltq_atm* 1> /dev/null 2>&1 && \
|
||||||
|
|
||||||
if lantiq_is_vdsl_system; then
|
if lantiq_is_vdsl_system; then
|
||||||
interface_wan="ptm0"
|
interface_wan="ptm0"
|
||||||
ucidef_add_vdsl_modem "$annex" "av" "ptm"
|
ucidef_add_vdsl_modem "$annex" "$tone" "$xfer_mode"
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue