aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-18 15:35:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-18 15:35:17 +0000
commit1e23f90c158f91b66d87bf0467f1987d81165288 (patch)
treec957daa41441f9c980425ff165ed70ca09c8eb65 /target
parent547b4b0a3943dc4992b8a3ef7116a36710c62b0d (diff)
downloadmaster-187ad058-1e23f90c158f91b66d87bf0467f1987d81165288.tar.gz
master-187ad058-1e23f90c158f91b66d87bf0467f1987d81165288.tar.bz2
master-187ad058-1e23f90c158f91b66d87bf0467f1987d81165288.zip
lantiq: fix VDSL device detection with Linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48319 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index 15b1f8c10f..89faeaaa34 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -135,7 +135,7 @@ if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then
ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
fi
-if [ -n "$(grep "system type.*: VR9" /proc/cpuinfo)" ]; then
+if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
interface_wan="ptm0"
ucidef_add_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm"
else