ralink: add support for mt7628

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43197
This commit is contained in:
John Crispin
2014-11-06 09:31:31 +00:00
parent f8404aaf9e
commit cadf517107
11 changed files with 518 additions and 4 deletions

View File

@@ -6,12 +6,12 @@
. /lib/ramips.sh
ramips_set_preinit_iface() {
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350|MT7628)"`
if [ -n "${RT3X5X}" ]; then
swconfig dev rt305x set reset 1
fi
if echo $RT3X5X | grep -q RT5350; then
if echo $RT3X5X | egrep -q "(RT5350|MT7628)"; 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

View File

@@ -355,6 +355,9 @@ ramips_board_detect() {
*"Lenovo Y1S")
name="y1s"
;;
*"Mediatek MT7628AN evaluation board")
name="mt7628"
;;
*)
name="generic"
;;