diff options
author | John Crispin <john@openwrt.org> | 2015-09-16 08:31:00 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-09-16 08:31:00 +0000 |
commit | 86a1e46b6359d1b187cfd912295f544145ab6a88 (patch) | |
tree | c3c30dd6b3f6cfc7c3c07e4e8aa7c0a929918c10 /target/linux/ramips/base-files | |
parent | 85d5b9984dc7378d83fb811438ea017af3f947f9 (diff) | |
download | upstream-86a1e46b6359d1b187cfd912295f544145ab6a88.tar.gz upstream-86a1e46b6359d1b187cfd912295f544145ab6a88.tar.bz2 upstream-86a1e46b6359d1b187cfd912295f544145ab6a88.zip |
ramips: add proper mt7688 detection
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46957
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips index cae6396a73..90b6d15057 100644 --- a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips +++ b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips @@ -6,12 +6,12 @@ . /lib/ramips.sh ramips_set_preinit_iface() { - RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350|MT7628)"` + RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350|MT7628|MT7688)"` if [ -n "${RT3X5X}" ]; then swconfig dev rt305x set reset 1 fi - if echo $RT3X5X | egrep -q "(RT5350|MT7628)"; then + if echo $RT3X5X | egrep -q "(RT5350|MT7628|MT7688)"; then # This is a dirty hack to get by while the switch # problem is investigated. When VLAN is disabled, ICMP # pings work as expected, but TCP connections time |