Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1067594ybb; Fri, 3 Apr 2020 17:41:04 -0700 (PDT) X-Google-Smtp-Source: APiQypKEFHIMLed/vmfPkQNwdzLopbbhN0kbtXRB6383JZwuQRSScoK5us/sBMIUiEsuteMbVYkl X-Received: by 2002:a9d:630f:: with SMTP id q15mr8033752otk.146.1585960864386; Fri, 03 Apr 2020 17:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585960864; cv=none; d=google.com; s=arc-20160816; b=rkjXMNyki74+0Oz8YA0ZTZMuP4M1Mz9AH9BOHzmK/tcKxCpwIlqbku8HLD6zZQEMb7 9aLHAK9m+ZcS5z7wbFLVQjIAe3iFCY9nFpswFOvXehxt/JuKnS2hgqu8j/tfuC9D0vXc onxcUto0lz8svhSPnYFZ0BCtfF1lxZAuYs4xrN8iSLGDAPlbOg4A6JwWOxuetirdfIt0 /jO/Jbg1fdTycDe8vpTAmXv7l4Wa0K+uZqi3iqzxWh/LMVpZwwTCvMm5NECIS0RHBvwr OHGdgqtnFuDUUXe71HY1kjywpJzF7dcLenYYJ7KExStrx3WUK3kCF30ZI9leKZ1Vqf8t xAyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0bVyoWv6qoGb6EzC4renaHQUyi40WWljdwPyCk1Mog8=; b=eHC1PKGTQkmIZRw/ppDHG8ykmEZZE0iASOmIUo5E2xjmJtnhp5gLNWWm41W09BRrPP Vf2EUTngWog5FX4FsJcOxqF08cfZWYubLtaanVryIk91ZtnOzyMwd4rpiJNTH01K6v32 9s/KlgongzIcF8rA/uMUGNTPyPvG5Bsfn3OANYURpZKdAsvv2LX91IkaYc/CUEAIKITw IV5ydqwXnmqAbG+FLk2iFUlmCdH4GFWGhTxTzzzc/BlmeuScRvfayG4dG79xax3liPJt pFta5x+Pbfha8i3+/C+ofyafJQ02cEmTB+nuqV3WbqiiRBLk5woOnjzzjZgzGQ2ySR5T rgCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dyX2dyBM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w21si4753920otp.93.2020.04.03.17.40.51; Fri, 03 Apr 2020 17:41:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=dyX2dyBM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726307AbgDDAi3 (ORCPT + 99 others); Fri, 3 Apr 2020 20:38:29 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:53575 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726060AbgDDAi2 (ORCPT ); Fri, 3 Apr 2020 20:38:28 -0400 X-UUID: 04a1bc8cd0d0426b99e77206e7fb76d0-20200404 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=0bVyoWv6qoGb6EzC4renaHQUyi40WWljdwPyCk1Mog8=; b=dyX2dyBMkgiAQYlgJOZEHqRr2JSxHQTqjC4H5DLYu+i1dDWlggTmYkJqe/pKkumu/IotsxZkeN/rJC2rwvuOwAvAtLhKUxR274biB5Uy6LlC8tnM3uR8FK6TkQfIOdD29A5+og3XAq6tbZwBTCAf+jaxZxWr+aiR9VRgVu4RuJQ=; X-UUID: 04a1bc8cd0d0426b99e77206e7fb76d0-20200404 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 26405071; Sat, 04 Apr 2020 08:38:23 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 4 Apr 2020 08:38:20 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 4 Apr 2020 08:38:21 +0800 From: To: , , , , , CC: , , , , , =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Subject: [PATCH net 2/2] net: ethernet: mediatek: move mt7623 settings out off the mt7530 Date: Sat, 4 Apr 2020 08:38:17 +0800 Message-ID: <1585960697-15547-2-git-send-email-sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1585960697-15547-1-git-send-email-sean.wang@mediatek.com> References: <1585960697-15547-1-git-send-email-sean.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-TM-SNTS-SMTP: E5739DF59F6A401EEA2953695B4595341229673A67FE42F9773F8F6918567BB12000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUmVuw6kgdmFuIERvcnN0IDxvcGVuc291cmNlQHZkb3JzdC5jb20+DQoNCk1vdmluZyBt dDc2MjMgbG9naWMgb3V0IG9mZi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