From patchwork Tue May 30 15:03:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 100943 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2256503vqr; Tue, 30 May 2023 08:15:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kiA91Vyza4u4mM64TJN5zesmVQuo/F/pZFmp7yUeamMrWSJl+2zBiTAsoWJNrRfX/ifUE X-Received: by 2002:a17:90a:fc3:b0:256:7650:479e with SMTP id 61-20020a17090a0fc300b002567650479emr3067596pjz.16.1685459740633; Tue, 30 May 2023 08:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685459740; cv=none; d=google.com; s=arc-20160816; b=dEKkDqmCHloNq52PuYrxgGduK17Ec1kC1/RIknJTpCYnIOyqbiohMf6GqcMrShvH4j kD9lnPy1fFFnAVcjZHHtUhhbgn/jb/neuADrlD6Qg5Mnz6g4O+m+1Jex9Z3omSG4kEss aeQ7AhyjAboJX6uMjJJcSie58xBYLL88lTVDKBbufAG6xQapT8BJCmoypxxnxz6cQaog 4hE6w500d9+lxLS1jth3yj71yRurqWP2cvoViVK3MMbjFoKZGNQnaJyzHvjvYEjOZnuY /QQMAWA5TUP4FJUREPZsKzJmt4d4qT0guA3Bm0tev9IJXPQK66WsKDGrhBxEZu5NEQnr CCRQ== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=htsD3jYU33SJKqKaeiRne4+S4WH//xmAF5gjSTmgLW8=; b=lkVaR6esER8r01TMiTIF01VfG8VoFTi+6wozxDeMeBLUk8A2nwZWDCLBUw6+Tonc+Z s0M2v4TR6NPjgbBqDfi4XgTBoNJeZ8zOTSuiQTqHFRXbC75xQp+CONWtnIn/W5SgNz53 vvvnc3yMoSSLTE6wpYfYyObS3UDeH+Q1VtMk5aPR+QVCLhU1ISnYbqDNS+nmy1igARdc XeSY3ur0apMZz2PNgnPtbC4mmdpTHXfK+edlzRga/0DpLxzmCIVa+tzkquE0TzaL5opo UTOqRCcWglFSUKm9y/CIbU0SKv6dRgC8eSa/EeC/9xY8yX8Z7mc6f9izeg6Ydob0xbJD v69w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=TVce46oW; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="kRK3/Ysr"; 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=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d6-20020a633606000000b0053ef172c93esi10312377pga.4.2023.05.30.08.15.27; Tue, 30 May 2023 08:15:40 -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=@flygoat.com header.s=fm2 header.b=TVce46oW; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="kRK3/Ysr"; 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=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232839AbjE3PD2 (ORCPT + 99 others); Tue, 30 May 2023 11:03:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232969AbjE3PDW (ORCPT ); Tue, 30 May 2023 11:03:22 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED98100; Tue, 30 May 2023 08:03:15 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 79ECF5C0103; Tue, 30 May 2023 11:03:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 30 May 2023 11:03:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1685458994; x=1685545394; bh=htsD3jYU33 SJKqKaeiRne4+S4WH//xmAF5gjSTmgLW8=; b=TVce46oWpowOgz5QKnBolTeXOK W0+v80SGoYeQFxx55Rdw8ZZDpnPOBIGRoyJxTq05tJ2UP4FTC+xTOvnO7Wnn9nja yVAFbBGR5gyaNhq+dtd/ccT5l33O10vT1eAiIYVhHq5VFK+maWp0NLF9tK+ZjNKa KIC2Y8VaZOECAB/ra8wcVvJsuzGJfTk5zzaOW+c/1rUEFAtOqe4t+2myZuueAcrd XFRYJHw0v56M1wwvqEfKNtCCVLsZ3C0AEgcxOaWx31XiDyGb3dfzdmV9yYp12O52 2DhYeZ/uSqwSVRpNHhTRXwJYsOmDcQlKVqXTUsbB9oexLOe7uE1Wv008a18Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1685458994; x=1685545394; bh=htsD3jYU33SJK qKaeiRne4+S4WH//xmAF5gjSTmgLW8=; b=kRK3/YsryImCd97MDTHV/CBQDKILm H9fk6yPi0Py6w+4QeSp3Z2zl9M6vwRXqMsApClr5UncgiP2/qg+7SV/rPE4o76CX 6X9XmD7vuyOBAh6t7Fs/TEuRsh3cLSwihCVxXZ1mHt8RKmPdBysaDAsH6gyCbBGX KAeltlRNVzDpz7NCMeOqukp7TsWoEYaCgyDWdcddT1ptfWvg5NxqSzOSzofi3rXG 42t8UDXpeoviBe/VpPvzAeHLthRohz2Rwtmh+SymuEKQIKbG5iXUf/qKoYSUNImh iLMB2DvONAxgU3vmSqcxPpIIqY30Nd5vrksJsDCFeXfaMKWSU50u/E7hw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeekjedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhephfetuddtudevieeljeejte ffheeujeduhefgffejudfhueelleduffefgfffveeknecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 May 2023 11:03:11 -0400 (EDT) From: Jiaxun Yang To: netdev@vger.kernel.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.or, pabeni@redhat.com, linux-kernel@vger.kernel.org, Jiaxun Yang Subject: [PATCH] net: pch_gbe: Allow build on MIPS_GENERIC kernel Date: Tue, 30 May 2023 16:03:01 +0100 Message-Id: <20230530150301.9555-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767332632501521748?= X-GMAIL-MSGID: =?utf-8?q?1767332632501521748?= MIPS Boston board, which is using MIPS_GENERIC kernel is using EG20T PCH and thus need this driver. Note that CONFIG_PCH_GBE is selected in arch/mips/configs/generic/ board-boston.config for a while, some how it's never wired up in Kconfig. Signed-off-by: Jiaxun Yang --- Netdev maintainers, is it possible to squeeze this tiny patch into fixes tree? --- drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig index 4e18b64dceb9..9651cc714ef2 100644 --- a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +++ b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig @@ -5,7 +5,7 @@ config PCH_GBE tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE" - depends on PCI && (X86_32 || COMPILE_TEST) + depends on PCI && (MIPS_GENERIC || X86_32 || COMPILE_TEST) depends on PTP_1588_CLOCK select MII select PTP_1588_CLOCK_PCH