lantiq: fix VDSL device detection with Linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48319
This commit is contained in:
@@ -135,7 +135,7 @@ if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then
|
|||||||
ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
|
ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$(grep "system type.*: VR9" /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" "/lib/firmware/vdsl.bin" "av" "ptm"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user