Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4620304ybi; Tue, 11 Jun 2019 09:33:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv/ScseNhpWS7nX+tfy7QCCEqC1na5tH7kEzHfYiYMj0KenJ6NYNG2bspMwj32hfV5WMkL X-Received: by 2002:a62:e315:: with SMTP id g21mr32259950pfh.225.1560270792509; Tue, 11 Jun 2019 09:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560270792; cv=none; d=google.com; s=arc-20160816; b=UtAhJujn9Q0Xm/wtSSmlTnFcFWezrxkAh2sOixrMt+M/HGOpwn/PDT5f9gyRf5XBPL IBk0Ctmqx15ZBcnlTB996YLyOAvbSsQbVLQXlba6o7iGmo8UkeJ1UJ/pqwyhMSkW6hRk 8xoJ/5Nb5Ps7Yddar4AHCUWjdJ8yyUThjRPe7Zm6IRn5IeBlPSsL8mHEezL25BzjPB6s I6mawyOX3HfVDqgigUO2I/Oi/S8raMvRHxqFISlgWJajpODiideW7ZdqEoK59hFw9DIJ IQlEZdt2m96+NFuWYKVd3LMVpLI4uXsSl6NsDyD/frrMKE9lVkt6tA0DCUGhIMmxvGdD +zDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=SHkQH/jGDaGu08amnNnznZQpoPO0cjLLhyWvnAzHbB0=; b=WAyWBp+80uUXiALnA4Qo8Cvr+zzorSkE3jmCdzNYZ3yRj4FHK4SN96ef21d3x7OIz4 qN2bGq+kPJrjnsC01C8NfH584ft+dCh43kuO3p1xLrE0JZqrzQdtktRcSG9CYdUW/8M0 Bwb5j1vwHhuXa/Zctn5VDOa24xl4MvhG+PqG73s5vONMRqnclbd5gZd8tSKT8kOk9iMu FhFHt09Z70E8ncllwFTZQwK0T+ANRrZywrbvVgEGbWFbVkwvFbkt/1Cj3FQEz66ETgvD pH5W1rM9RNzag+4Shf73Ftv09vBq7fxKlfSxGQIURQgNMxS0J34tUNGlCxUIEe3peEYx LmmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="I03fF/JS"; 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=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si6769553pgi.27.2019.06.11.09.32.55; Tue, 11 Jun 2019 09:33:12 -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=@synopsys.com header.s=mail header.b="I03fF/JS"; 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404743AbfFKPTK (ORCPT + 99 others); Tue, 11 Jun 2019 11:19:10 -0400 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102]:46130 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404658AbfFKPTD (ORCPT ); Tue, 11 Jun 2019 11:19:03 -0400 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 1B5AEC1DC6; Tue, 11 Jun 2019 15:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1560266339; bh=/OJYsOKYv50WQaAr6ltez4OEKGVWdpgD2R9RWLXhY0s=; h=From:To:Cc:Subject:Date:From; b=I03fF/JSqbyzmgh3vBqDqvXqDG+E1lH1rutlIsrm4Kb04ywQ8XaH1CcWTqjbk8sO6 v8L3WxPbojMVL9NtXNtvov0w+dFwbdDPFN7zKLq0uugMZrJxPrzbtYd9DXWvEtM4KC U1wfLTa+W2jR2swWQluLkUf6+gXL5RWsP/IpQS+p7F8OcRXUpodV1ixD9TwjEOSlBq Ll+ez9irfLsbIu8IkkEJiwm2QaI6JFvMwv0cIvuVibb2c45V+RMYQ9K9lAky4eSQ8u vwN2YrhTMQ3Nb11BDca4VasqRpa2lScq33TBeET0l2q7Tma8LTvL5ugPYC9sRVhPWT RYw7R1dSKbSvg== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 2181FA0057; Tue, 11 Jun 2019 15:18:58 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id E49E13FDB8; Tue, 11 Jun 2019 17:18:57 +0200 (CEST) From: Jose Abreu To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: Jose Abreu , Joao Pinto , "David S . Miller" , Giuseppe Cavallaro , Alexandre Torgue , Russell King , Andrew Lunn , Florian Fainelli , Heiner Kallweit Subject: [PATCH net-next 0/3] net: stmmac: Convert to phylink Date: Tue, 11 Jun 2019 17:18:44 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Hope this diff looks better (generated with --minimal) ] This converts stmmac to use phylink. Besides the code redution this will allow to gain more flexibility. Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Russell King Cc: Andrew Lunn Cc: Florian Fainelli Cc: Heiner Kallweit Jose Abreu (3): net: stmmac: Prepare to convert to phylink net: stmmac: Start adding phylink support net: stmmac: Convert to phylink and remove phylib logic drivers/net/ethernet/stmicro/stmmac/Kconfig | 3 +- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 7 +- .../ethernet/stmicro/stmmac/stmmac_ethtool.c | 81 +--- .../net/ethernet/stmicro/stmmac/stmmac_main.c | 391 ++++++++---------- .../ethernet/stmicro/stmmac/stmmac_platform.c | 21 +- 5 files changed, 190 insertions(+), 313 deletions(-) -- 2.21.0