lantiq: fix VDSL device detection with Linux 4.4
authorFelix Fietkau <nbd@openwrt.org>
Mon, 18 Jan 2016 15:35:17 +0000 (15:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 18 Jan 2016 15:35:17 +0000 (15:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48319

target/linux/lantiq/base-files/etc/board.d/02_network

index 15b1f8c10f3147bb1a2c3059a5efeef5d5cd2da5..89faeaaa3470e3ea246d3fff90febb74c8a3b338 100755 (executable)
@@ -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