From patchwork Wed Sep 20 20:10:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13393422 X-Patchwork-Delegate: kuba@kernel.org Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CB0C4121B for ; Wed, 20 Sep 2023 20:10:52 +0000 (UTC) Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B41D7D6 for ; Wed, 20 Sep 2023 13:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=k1; bh=8RIrRGujsnsww+/iQckIBpKPuIO G6p9i3F7bdsk5O7I=; b=agMesX032pc0Xecq+VevRAaSSZSHAncbr2wQcQ8M5ug F+6BUb8ZiOh74GhH3tErKanKqBLQv3lo+rhF8jzHZSC0hONS8mFcokVv5DF/2dCA Gs8xnW7r6hs/kf1IrA+xRcbpW3mM4+kX/t4UoJg5H2LANfNjmsBwWZ3YBw9fbuvP YHdCIxkFs3cu5fMep0PftdyW0g+dzWdGdlRLLDm6WgsW6FzkdSms36hRQ8D6ueX2 LPIxZ43ORqcCEnj/+xjUiad/2xpW5wO1/rsDA8A8MWBuwShMwDlUbXBhG96wkjYQ 2acsRI/3txO3RQ/HVz0NQDtd9tEX7NNErVoIqIgtn2w== Received: (qmail 720323 invoked from network); 20 Sep 2023 22:10:45 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Sep 2023 22:10:45 +0200 X-UD-Smtp-Session: l3s3148p1@EHd5+M8FtskujntX From: Wolfram Sang To: linux-mips@vger.kernel.org Cc: Jonas Gorski , Florian Fainelli , Wolfram Sang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 5/6] net: cpmac: remove driver to prepare for platform removal Date: Wed, 20 Sep 2023 22:10:31 +0200 Message-Id: <20230920201035.3445-6-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org AR7 is going to be removed from the Kernel, so remove its networking support in form of the cpmac driver. This allows us to remove the platform because this driver includes a platform specific header. Signed-off-by: Wolfram Sang Acked-by: Florian Fainelli --- MAINTAINERS | 6 - drivers/net/ethernet/ti/Kconfig | 9 +- drivers/net/ethernet/ti/Makefile | 1 - drivers/net/ethernet/ti/cpmac.c | 1251 ------------------------------ 4 files changed, 1 insertion(+), 1266 deletions(-) delete mode 100644 drivers/net/ethernet/ti/cpmac.c diff --git a/MAINTAINERS b/MAINTAINERS index bdd6e7ce962d..00063d14c70b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5309,12 +5309,6 @@ M: Bence Csókás S: Maintained F: drivers/i2c/busses/i2c-cp2615.c -CPMAC ETHERNET DRIVER -M: Florian Fainelli -L: netdev@vger.kernel.org -S: Maintained -F: drivers/net/ethernet/ti/cpmac.c - CPU FREQUENCY DRIVERS - VEXPRESS SPC ARM BIG LITTLE M: Viresh Kumar M: Sudeep Holla diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index 88b5b1b47779..7a99a86888e9 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -6,7 +6,7 @@ config NET_VENDOR_TI bool "Texas Instruments (TI) devices" default y - depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 + depends on PCI || EISA || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 help If you have a network (Ethernet) card belonging to this class, say Y. @@ -176,13 +176,6 @@ config TLAN Please email feedback to . -config CPMAC - tristate "TI AR7 CPMAC Ethernet support" - depends on AR7 - select PHYLIB - help - TI AR7 CPMAC Ethernet support - config TI_ICSSG_PRUETH tristate "TI Gigabit PRU Ethernet driver" select PHYLIB diff --git a/drivers/net/ethernet/ti/Makefile b/drivers/net/ethernet/ti/Makefile index 34fd7a716ba6..e38ec9d6c99b 100644 --- a/drivers/net/ethernet/ti/Makefile +++ b/drivers/net/ethernet/ti/Makefile @@ -8,7 +8,6 @@ obj-$(CONFIG_TI_DAVINCI_EMAC) += cpsw-common.o obj-$(CONFIG_TI_CPSW_SWITCHDEV) += cpsw-common.o obj-$(CONFIG_TLAN) += tlan.o -obj-$(CONFIG_CPMAC) += cpmac.o obj-$(CONFIG_TI_DAVINCI_EMAC) += ti_davinci_emac.o ti_davinci_emac-y := davinci_emac.o davinci_cpdma.o obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c deleted file mode 100644 index 80eeeb463c4f..000000000000