From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCC6BC28CC5 for ; Wed, 5 Jun 2019 13:31:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92C212086A for ; Wed, 5 Jun 2019 13:31:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="RoF9qG4c" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728055AbfFENam (ORCPT ); Wed, 5 Jun 2019 09:30:42 -0400 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102]:44108 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727936AbfFENal (ORCPT ); Wed, 5 Jun 2019 09:30:41 -0400 Received: from mailhost.synopsys.com (unknown [10.225.0.210]) (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 BEFD6C00D5; Wed, 5 Jun 2019 13:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1559741451; bh=UhTawoCdKVO1mzPVVGAymhkIq1eb9QymySNnrhn2TNI=; h=From:To:Cc:Subject:Date:From; b=RoF9qG4c4kadyU3NLa1zb5OZ4T800SHI489ZNakns+wGbwBjbtWGT90n1wg8BDMYr LTRgSbF565MeC5bsMZRKI/N6/n0VAPeuseodT8j89/GZ7gMyOrTMFomg3YcbN5Ux3d dPJ28FmBlQKpyOBLf0bdPiNTT8yGQfPxutcLISFmtBlm8ThpNXicbJly3nO+rPHb8e LNhvF2uf+aVnpRre6OtRCAVtW6Jjaor9m5NcJTUctvqXOCEbi35rJVfQtjeMQqqF3e 6UQTKEMGOAeAjPBRXFkyGn5JgegwSWm1MZ7XgBb998Ev2p5FJThluQJHwBbMWddPf4 b3WIX1MDnxkZw== Received: from de02.synopsys.com (de02.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 3DDD6A0232; Wed, 5 Jun 2019 13:30:39 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id DD7783FEC6; Wed, 5 Jun 2019 15:30:38 +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 Subject: [RFC net-next 0/2] net: stmmac: Convert to phylink Date: Wed, 5 Jun 2019 15:30:27 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org For review and testing only. 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 Jose Abreu (2): net: stmmac: Prepare to convert to phylink net: stmmac: Convert to phylink drivers/net/ethernet/stmicro/stmmac/Kconfig | 3 +- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 4 +- .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 72 +--- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 389 +++++++++------------ .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 21 +- 5 files changed, 189 insertions(+), 300 deletions(-) -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65C28C28EB6 for ; Thu, 6 Jun 2019 11:27:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32CEE2070B for ; Thu, 6 Jun 2019 11:27:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="iFLGbuSj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728361AbfFFL06 (ORCPT ); Thu, 6 Jun 2019 07:26:58 -0400 Received: from smtprelay-out1.synopsys.com ([198.182.47.102]:60812 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbfFFL06 (ORCPT ); Thu, 6 Jun 2019 07:26:58 -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 7E3F8C0B66; Thu, 6 Jun 2019 11:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1559820429; bh=LYlsmuhYso763N/RO39um+ScxW0aMyDOSjQIC78SHBQ=; h=From:To:Cc:Subject:Date:From; b=iFLGbuSjEvG5FT0C04tHTBa3IbPDhVG0rW4E+2tKwEUu9NCL/0C6LP2WvrQT2x4nh 8VL4aFFxBHLG353m89erGIIUiRcexRD+tPX1HG+XkPGEqJTIgXz5m0NzM672oo3I4P +TWiB5UVRpIH5yVWYX+qqPfAWzPl87pFMQ5I7kqA08t/XGt2ePZ6Thea/m9ZpB6La4 gPu0k1rnHm9+8Az+mwbYkjIoCiNK00p9G+AXTo/0o/JWPTdT9rJpNwrPzM71UA2wDs dq4aFn25X+cWftdVq4Ay4DTWLxYV9aykKyVXfKcQWVmfzc9RV16nxXxoZj8umPbLez JU1nOqYo9Q5QA== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 54354A005D; Thu, 6 Jun 2019 11:26:54 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id 1DDD43E9E1; Thu, 6 Jun 2019 13:26:54 +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: [RFC net-next 0/2] net: stmmac: Convert to phylink Date: Thu, 6 Jun 2019 13:26:49 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Message-ID: <20190606112649.5Mn7VBp5bzMkiWTZDoN1Lr1ZUda4p4qB8Viuq8JNRng@z> [ Resending with PHYLIB maintainer (Russell) in cc plus some PHY experts ] For review and testing only. 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 (2): net: stmmac: Prepare to convert to phylink net: stmmac: Convert to phylink drivers/net/ethernet/stmicro/stmmac/Kconfig | 3 +- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 4 +- .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 72 +--- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 389 +++++++++------------ .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 21 +- 5 files changed, 189 insertions(+), 300 deletions(-) -- 2.7.4