Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4705269rwo; Tue, 25 Jul 2023 09:43:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlFfkHD7tI2W5BsQxLXPcpbkhhpYXZVZ99WYEhxdTuGY8MTFf+vmKunWyfoPJN78bhcNipVJ X-Received: by 2002:a17:906:64da:b0:993:f6c8:300f with SMTP id p26-20020a17090664da00b00993f6c8300fmr12605033ejn.15.1690303435244; Tue, 25 Jul 2023 09:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690303435; cv=none; d=google.com; s=arc-20160816; b=bXhrUxfN6sHKpgBpql6PQjDwAUbT1Cd+xQjqQ3kdqhFet8VIlT0WJhwYokTlgdjVaT 5hE6zCSu/QiZ6lBPLWwS50KLOWz5Y4AV0CkGhjh2y8JnF54j97J6jVnYYsNm97Qx+iDw jvlaCSBNkkqSQwG3wM0wOmeQYIvJDQTxZiKbcwjvV8NEOKZhPrXXag+CKGuVbwzbOavQ A2F2F0L+mhcVR5OWMVlUryrRt11+ghOC3mFryH7tMAhKwY2qGyZ9+FOY7hukv39dfxmm t4gwThZUC4GuDvMCXaseT0qN/RKJM1ZKaqCOo+LGFQHa6g59pvYa/WgkvQZ3jsoZ3n+B m66g== 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; bh=N35Dfl8BYrRkwpc6/CyK10Kzt7YoSsm6/X7dlaJHv3I=; fh=guFpj7gaZeuGWyx6gADXtf5LBWbjYiNfSSFsxvuLU7U=; b=wdBurUhneJLIxT/QuvBRsFKry/quRvIIuocwtrSzohxz2aP3rFYrcCFGW9iB3lHVqP g4s7G/GpgIEJKINNs28yHzVy+W6KLl4atMsUChfAqFw+wusQZ2YHmk9CCVCM3uCP/uFQ +iZhtBmQtxA1VwdeeXYZXtiCHHcVhdVpUita7L5UgJzQWpxaUc4cN+8inaXZkLa/Oy1Y r63NAN0zYtWWJrSa7Q3DYFubUOxTdniEN+gbJppmbixkL7ozNzqvwGvjfiLzoMFFIfon iS4enHpz4VYmUenZ1KOJUpduAj9ZKpso6yR7DCorCHvJyZeifKTYRQhKnl7kIhYasp+N owdA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a17090633cc00b00992ac6d8893si7961160eja.792.2023.07.25.09.43.30; Tue, 25 Jul 2023 09:43:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231854AbjGYPqs (ORCPT + 99 others); Tue, 25 Jul 2023 11:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjGYPqq (ORCPT ); Tue, 25 Jul 2023 11:46:46 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4DFB1FFE for ; Tue, 25 Jul 2023 08:46:45 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:2d50:2ea4:d4e1:2af3]) by albert.telenet-ops.be with bizsmtp id RTmj2A0022TBYXr06TmjAN; Tue, 25 Jul 2023 17:46:43 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qOKF3-002Vht-Ta; Tue, 25 Jul 2023 17:46:43 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qOKFH-009cV7-16; Tue, 25 Jul 2023 17:46:43 +0200 From: Geert Uytterhoeven To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Fainelli , Justin Chen , Simon Horman Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH net] bcmasp: BCMASP should depend on ARCH_BRCMSTB Date: Tue, 25 Jul 2023 17:46:37 +0200 Message-Id: <1e8b998aa8dcc6e38323e295ee2430b48245cc79.1690299794.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 The Broadcom ASP 2.0 Ethernet controller is only present on Broadcom STB SoCs. Hence add a dependency on ARCH_BRCMSTB, to prevent asking the user about this driver when configuring a kernel without Broadcom ARM-based set-top box chipset support. Fixes: 490cb412007de593 ("net: bcmasp: Add support for ASP2.0 Ethernet controller") Signed-off-by: Geert Uytterhoeven --- drivers/net/ethernet/broadcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index d4166141145d631c..75ca3ddda1f5e09f 100644 --- a/drivers/net/ethernet/broadcom/Kconfig +++ b/drivers/net/ethernet/broadcom/Kconfig @@ -257,6 +257,7 @@ config BNXT_HWMON config BCMASP tristate "Broadcom ASP 2.0 Ethernet support" + depends on ARCH_BRCMSTB || COMPILE_TEST default ARCH_BRCMSTB depends on OF select MII -- 2.34.1