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=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, 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 E0AA6C18E5B for ; Tue, 10 Mar 2020 09:07:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF89C20674 for ; Tue, 10 Mar 2020 09:07:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726733AbgCJJHf (ORCPT ); Tue, 10 Mar 2020 05:07:35 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34787 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726682AbgCJJHe (ORCPT ); Tue, 10 Mar 2020 05:07:34 -0400 X-Originating-IP: 90.89.41.158 Received: from localhost (lfbn-tou-1-1473-158.w90-89.abo.wanadoo.fr [90.89.41.158]) (Authenticated sender: antoine.tenart@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id A55DE1C002E; Tue, 10 Mar 2020 09:07:32 +0000 (UTC) From: Antoine Tenart To: davem@davemloft.net, andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com Cc: Antoine Tenart , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 1/3] net: phy: move the mscc driver to its own directory Date: Tue, 10 Mar 2020 10:07:18 +0100 Message-Id: <20200310090720.521745-2-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200310090720.521745-1-antoine.tenart@bootlin.com> References: <20200310090720.521745-1-antoine.tenart@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MSCC PHY driver is growing, with lots of space consuming features (firmware support, full initialization, MACsec...). It's becoming hard to read and navigate in its source code. This patch moves the MSCC driver to its own directory, without modifying anything, as a preparation for splitting up its features into dedicated files. Signed-off-by: Antoine Tenart --- drivers/net/phy/Makefile | 2 +- drivers/net/phy/mscc/Makefile | 5 +++++ drivers/net/phy/{ => mscc}/mscc.c | 0 drivers/net/phy/{ => mscc}/mscc_fc_buffer.h | 0 drivers/net/phy/{ => mscc}/mscc_mac.h | 0 drivers/net/phy/{ => mscc}/mscc_macsec.h | 0 6 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 drivers/net/phy/mscc/Makefile rename drivers/net/phy/{ => mscc}/mscc.c (100%) rename drivers/net/phy/{ => mscc}/mscc_fc_buffer.h (100%) rename drivers/net/phy/{ => mscc}/mscc_mac.h (100%) rename drivers/net/phy/{ => mscc}/mscc_macsec.h (100%) diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index d9b3c0fec8e3..be12c3a23b23 100644 --- a/drivers/net/phy/Makefile +++ b/drivers/net/phy/Makefile @@ -88,7 +88,7 @@ obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o obj-$(CONFIG_MICREL_PHY) += micrel.o obj-$(CONFIG_MICROCHIP_PHY) += microchip.o obj-$(CONFIG_MICROCHIP_T1_PHY) += microchip_t1.o -obj-$(CONFIG_MICROSEMI_PHY) += mscc.o +obj-$(CONFIG_MICROSEMI_PHY) += mscc/ obj-$(CONFIG_NATIONAL_PHY) += national.o obj-$(CONFIG_NXP_TJA11XX_PHY) += nxp-tja11xx.o obj-$(CONFIG_QSEMI_PHY) += qsemi.o diff --git a/drivers/net/phy/mscc/Makefile b/drivers/net/phy/mscc/Makefile new file mode 100644 index 000000000000..e419ed1a3213 --- /dev/null +++ b/drivers/net/phy/mscc/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for MSCC networking PHY driver + +obj-$(CONFIG_MICROSEMI_PHY) += mscc.o diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc/mscc.c similarity index 100% rename from drivers/net/phy/mscc.c rename to drivers/net/phy/mscc/mscc.c diff --git a/drivers/net/phy/mscc_fc_buffer.h b/drivers/net/phy/mscc/mscc_fc_buffer.h similarity index 100% rename from drivers/net/phy/mscc_fc_buffer.h rename to drivers/net/phy/mscc/mscc_fc_buffer.h diff --git a/drivers/net/phy/mscc_mac.h b/drivers/net/phy/mscc/mscc_mac.h similarity index 100% rename from drivers/net/phy/mscc_mac.h rename to drivers/net/phy/mscc/mscc_mac.h diff --git a/drivers/net/phy/mscc_macsec.h b/drivers/net/phy/mscc/mscc_macsec.h similarity index 100% rename from drivers/net/phy/mscc_macsec.h rename to drivers/net/phy/mscc/mscc_macsec.h -- 2.24.1