mirror of https://github.com/hak5/openwrt-owl.git
ltq-vdsl-app: let the driver/app probe the xtse on missing annex
r47933 revealed that the driver/app in combination with the chosen firmware does a good job in selecting a working xtse. Use this probing mode if no annex is specified. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48052owl
parent
7816dffd03
commit
846124f536
|
@ -34,8 +34,6 @@ xtse_adsl_b="10_00_10_00_00_04_00_07"
|
||||||
# G.993.2 Annex A/B/C
|
# G.993.2 Annex A/B/C
|
||||||
xtse_adsl_j="10_00_10_40_00_04_01_07"
|
xtse_adsl_j="10_00_10_40_00_04_01_07"
|
||||||
|
|
||||||
xtse_vdsl="00_00_00_00_00_00_00_07"
|
|
||||||
|
|
||||||
service_triggers() {
|
service_triggers() {
|
||||||
procd_add_reload_trigger network
|
procd_add_reload_trigger network
|
||||||
}
|
}
|
||||||
|
@ -67,7 +65,6 @@ start_service() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
eval "xtse=\"\${xtse_xdsl_$annex}\""
|
eval "xtse=\"\${xtse_xdsl_$annex}\""
|
||||||
[ -z "${xtse}" ] && xtse=$xtse_vdsl
|
|
||||||
|
|
||||||
[ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
|
[ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
|
||||||
[ -f "${firmware}" ] || {
|
[ -f "${firmware}" ] || {
|
||||||
|
|
Loading…
Reference in New Issue