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=-2.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 9E197C4321D for ; Tue, 11 Jun 2019 15:19:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68FD9212F5 for ; Tue, 11 Jun 2019 15:19:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="I03fF/JS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404753AbfFKPTL (ORCPT ); Tue, 11 Jun 2019 11:19:11 -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