Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6726094rwd; Tue, 6 Jun 2023 00:40:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5tLSVC5vaeEBxMvhJsTEAEEtp8d4z0KX/B9tRvXW67LFMhV7V3E8wQa+H+VSfJcWwFoCW9 X-Received: by 2002:a05:6808:282:b0:399:169:75d8 with SMTP id z2-20020a056808028200b00399016975d8mr1611005oic.35.1686037250632; Tue, 06 Jun 2023 00:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686037250; cv=none; d=google.com; s=arc-20160816; b=nadg7TapcBkXIhDxOuAFn0GGBk4TlOzSjAIkjI6uFV1+bOCj7GBfSBlI+8CHVUCMKs OOZNaeKAQ3qDhrB+0VPL8bonsh81j3hlQcYNvTCNfCHNIn8NXErdAAQRxTGl1gIZmZBk 1XjV24B4PANDYsArWjCD8xQMVdbP4MBtJ4hgCx5zdHrKqUY2KTLq7gu3eXdOy4NSTEgm eQ8CLJw6ITxgTsYoqFg/2wiV/fTHinZ0tpLWPJ9ETjf/BqjwtgqnLDPXvw2HuGjIM7no 5rtQ2BQLzAM5F1GBKJ4inhswXKNhndjWmNk/1qWXXe7k3tuvwOmmtUVVBK5nQ5mnNqNQ N19g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QSpKd0+qWXXfpd4HFeznEI586MERIcn7KHl+UwCOPZk=; b=uPJ1Hcm8VkOAbl7GgrVigCc03yn223zojVz9jkFtrcpQLrXLp2yJstun1gxijHTq2n PXbR5bsZ0inLJ/++dfDIQvAWpmk+Y7qUaIooIBR9m7big6xiFo4fOitg4nwajHbbGvwz 3fRWY5kUL2Mbi17648hrLolJOplhjb+eqPCh9bcaxsjLEGSiKx6dyvQJPu/4bVqlbuzg Kd16rOTfr4I3wMUH4PmX1jcxVhqPMVmS3S8lJGWaQ4yRCR90nL8EKNp/RtAs+FR2nnVz f+UAt0M72isCkJ2GniTj+WmiTxrjVAPrugkk/MspQpNQnG6w0K5YCRWmjXqTUX6NamRq QiPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PVbbuuUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jk17-20020a170903331100b001ac896ff65dsi6599006plb.480.2023.06.06.00.40.37; Tue, 06 Jun 2023 00:40:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PVbbuuUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235233AbjFFGtc (ORCPT + 99 others); Tue, 6 Jun 2023 02:49:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229882AbjFFGt1 (ORCPT ); Tue, 6 Jun 2023 02:49:27 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A79B2E43; Mon, 5 Jun 2023 23:49:25 -0700 (PDT) X-GND-Sasl: maxime.chevallier@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686034164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QSpKd0+qWXXfpd4HFeznEI586MERIcn7KHl+UwCOPZk=; b=PVbbuuUvqDFb/L8jqOHfRTkFZNLHLORKADWKYKoj7zJEMUYoEQNaP1NhLUYL6f9Spb0VLv WQMBD8+X4tCYyRabroL5qGWQCsjsxQttdAe4TD2Y+fZjpBy9wzjOj3l77aBHU3KGFGJSzZ 2USLfk8YkBH5MU4E9IS/w35zbdHPfoOyr68tor5Ere0FykCzMbHtpAoYfSFAE/GRCY3oph Gg9EriegP56zy2TYJMxI7J1uKepVfKaEgcWWPEzxb7BFBophPHgRcTRzSXVtfovDAK8Oqi 3c8ugBu1DTqJYUsa/TXkGkkXGZsnbJ9Un3jI9klVQR4Zdz8NPQSO5zLiJPvK0Q== X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 49B8EFF80D; Tue, 6 Jun 2023 06:49:22 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexis.lothore@bootlin.com, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , Russell King , Vladimir Oltean , Ioana Ciornei , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Jose Abreu , Alexandre Torgue , Giuseppe Cavallaro , Simon Horman Subject: [PATCH net-next 1/2] net: stmmac: Add PCS_LYNX as a dependency for the whole driver Date: Tue, 6 Jun 2023 08:49:13 +0200 Message-Id: <20230606064914.134945-2-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230606064914.134945-1-maxime.chevallier@bootlin.com> References: <20230606064914.134945-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Although pcs_lynx is only used on dwmac_socfpga for now, the cleanup path is in the generic driver, and triggers build issues for other stmmac variants. Make sure we build pcs_lynx in all cases too, as for XPCS. Fixes: 5d1f3fe7d2d5 ("net: stmmac: dwmac-sogfpga: use the lynx pcs driver") Signed-off-by: Maxime Chevallier --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index 5583f0b055ec..fa956f2081a5 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig @@ -5,6 +5,7 @@ config STMMAC_ETH depends on PTP_1588_CLOCK_OPTIONAL select MII select PCS_XPCS + select PCS_LYNX select PAGE_POOL select PHYLINK select CRC32 @@ -160,7 +161,6 @@ config DWMAC_SOCFPGA select MFD_SYSCON select MDIO_REGMAP select REGMAP_MMIO - select PCS_LYNX help Support for ethernet controller on Altera SOCFPGA -- 2.40.1