Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1314115ybc; Tue, 12 Nov 2019 18:39:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzwc7qY3A1J3zbXbK+L4xkIYxYi9BlHwIhem0YG7JU49uW+HVJJyHARZNJqHHfKtlrd1rTh X-Received: by 2002:a17:906:1b41:: with SMTP id p1mr558185ejg.65.1573612796482; Tue, 12 Nov 2019 18:39:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573612796; cv=none; d=google.com; s=arc-20160816; b=dkTHLoN5lur77ZvEqfJ3bzYANMeft9RVFmzC+U1VZ5Xe9H8xVn176innzcy3p8uZTb tUbR5oPJahw9iLaRdjlyKuDz0xy6/N/K5Ual+zlhZCLiOVUYMiDdhbK1BsplZPlCm7O5 +lFdCadJjaHXpn4XjJSLVzKOhcpgDrxbmReYfuwRPypHaJ+ub2oqOev3WpQlwtMQjtc1 HZ7Lz+sSOQVl8E5f63bjqHsk8pbHii0lqZHvHPBqtL9KCHrtrDR1LP09r91F1UogKv+C 4RhS3fvWhIzU71D6v4ReE8TH0NCZSZnTORmkBTOzb7/sfnRuc4uD+bzLgcCElisKNcQo cAYg== 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=c0lf9YoTwyET62YRCT3bvlbcE7Psq0UHusE+Kdc19RM=; b=eUx5xA1tkz2D/KfMqeTa8FCmE+eSaUkipKwGyibu6+oVLmHCiMCaL5Ofxf2MClYunG YgHLXaz6tqdDueHkjgAqv8BoLiv2RHrDim+GrmBv8mbmGeullIXdkXkr89XGfhxo7Pc/ gQioMFob79Dq0joLCH6bqszcDuD/alTDNVnQvbK1kiiiksOblZYOQxzxsiGX7ASfeYOz QiUSzZ+ArGrwKgbeM3lesK6/TawKdsjFfx00lPhLV+6sS5HEzPf8eIzYWgmCdWyLfZsq EEbNG37hlva5YHvQm8Ks+JRBcTggKpwDIfMAd0K49Sdao44xl/lHHOOshx2HQ7hnLuOp hWyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=UQA66f4I; 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 s7si352234eds.215.2019.11.12.18.39.31; Tue, 12 Nov 2019 18:39:56 -0800 (PST) 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=UQA66f4I; 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 S1727637AbfKMCi4 (ORCPT + 99 others); Tue, 12 Nov 2019 21:38:56 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:4659 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727290AbfKMCiz (ORCPT ); Tue, 12 Nov 2019 21:38:55 -0500 X-UUID: 8d99cfb1549144af845b27c7120d995d-20191113 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=c0lf9YoTwyET62YRCT3bvlbcE7Psq0UHusE+Kdc19RM=; b=UQA66f4IIzFMixiw5U/TcGXFcc0XWD05OJ99LVi/jvFE0bwgyaJiJxDHW/wWx5xEwX0TRxJc4HYTmSQq4fR6TETcllDxC+s9rFJ9mebutPhs4q1BgRsO6LbRKekiayXibFI1PFttbF7xLHOPAQWnPayjOKNSG3rFSKIoKDZvEjo=; X-UUID: 8d99cfb1549144af845b27c7120d995d-20191113 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 844890864; Wed, 13 Nov 2019 10:38:47 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 13 Nov 2019 10:38:44 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 13 Nov 2019 10:38:44 +0800 From: MarkLee To: "David S. Miller" , Sean Wang , John Crispin , Matthias Brugger , Andrew Lunn CC: Rob Herring , Mark Rutland , Rene van Dorst , , , , , , Jakub Kicinski , MarkLee Subject: [PATCH net,v3 1/3] net: ethernet: mediatek: Integrate GDM/PSE setup operations Date: Wed, 13 Nov 2019 10:38:42 +0800 Message-ID: <20191113023844.17800-2-Mark-MC.Lee@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191113023844.17800-1-Mark-MC.Lee@mediatek.com> References: <20191113023844.17800-1-Mark-MC.Lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 SW50ZWdyYXRlIEdETS9QU0Ugc2V0dXAgb3BlcmF0aW9ucyBpbnRvIHNpbmdsZSBmdW5jdGlvbiAi bXRrX2dkbV9jb25maWciDQoNClNpZ25lZC1vZmYtYnk6IE1hcmtMZWUgPE1h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