Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4487106pxb; Tue, 31 Aug 2021 06:28:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuhw0pNv2Pe79ZRf03BvN9ofTUYYxKgwLDytnfEK9r99NiMSRYiAwUdJutLBUj4h9ZDxRZ X-Received: by 2002:a05:6402:430f:: with SMTP id m15mr19548457edc.115.1630416497694; Tue, 31 Aug 2021 06:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630416497; cv=none; d=google.com; s=arc-20160816; b=jW5Jqeic7G+iqDguTnKzFMJfQ00D1uUaMkNQiR96TjWmIsYPFLGOtPvga71ZGkOUAY VQ3Tk4THGld/hRia0TaDzRqbs4we5jBs9Cd3isFibPrMRsCiFlgCOkqylLYEDIXUkuZp uwct5AMues5OZINueB24ptM7h9/PBW0B6DYhCGDY/Os2KyGN12w+UZ887i5NR8YaDwYL H9OZGFbVJAiDlz1SO0O7c/zk5L+OA5DGMQO/GOhCLM7i5AJBoK+AVuk03NZzYvtOAW/X zgWKR8UgVX9ldtnH0pQgdxrJpYbW1Gfc23LGh2ogNKPsgoJ7XZc7xqink2WRIrIbJr4E 5mFw== 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=bdU6WEF6Kq5y+XoL2vnTnpl3iGJ3SCT8TWSysXrQZXs=; b=hdjMxmXSpnATCi3Q0OHUZpx2+/syjm1nF79tYze1q0irXIW3+SyXBHWWh1gsBoZvK4 CC6LvaJn8o1MaEIFZ6zw9c5I+C5QwL+KUscRLCf0mj3/ptkD3JiGe5Ds2xIOrbU3JsX4 A3uZfH/fJrldKduNbLROrv5hR5SPjo0aQTvDZNbsg0AJUUFCbJ8msR5zbqMcEss8gVYi vSsGi21lTMiwgnmtpuB3U+Y4j0UuHGEu3tvyUxiyfLLp0GL7SL7KUjAwJUAlxzPhis0Z Dj76lE27CmLF6ZgfWSeta2qjrTpanzxsuu1ZBA9s3b5lvhK/VXwYfqYthugzv/tmDhBS nYSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si17762609ejt.594.2021.08.31.06.27.34; Tue, 31 Aug 2021 06:28:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233928AbhHaNWF (ORCPT + 99 others); Tue, 31 Aug 2021 09:22:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233115AbhHaNWD (ORCPT ); Tue, 31 Aug 2021 09:22:03 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0808C061575 for ; Tue, 31 Aug 2021 06:21:07 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:2193:279a:893d:20ae]) by andre.telenet-ops.be with bizsmtp id oDM42500J1ZidPp01DM41h; Tue, 31 Aug 2021 15:21:06 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mL3hI-000roW-1S; Tue, 31 Aug 2021 15:21:04 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mL3hH-000qTB-Gf; Tue, 31 Aug 2021 15:21:03 +0200 From: Geert Uytterhoeven To: "David S . Miller" , Jakub Kicinski , Joel Stanley , Gabriel Somlo , David Shah , Stafford Horne Cc: Karol Gugala , Mateusz Holenko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] net: NET_VENDOR_LITEX should depend on LITEX Date: Tue, 31 Aug 2021 15:20:57 +0200 Message-Id: <72bc8926dcfc471ce385494f2c8c23398f8761d2.1630415944.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LiteX Ethernet devices are only present on LiteX SoCs. Hence add a dependency on LITEX, to prevent asking the user about drivers for these devices when configuring a kernel without LiteX SoC Builder support. Fixes: ee7da21ac4c3be1f ("net: Add driver for LiteX's LiteETH network interface") Signed-off-by: Geert Uytterhoeven --- drivers/net/ethernet/litex/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/litex/Kconfig b/drivers/net/ethernet/litex/Kconfig index 265dba414b41ec22..bfad1df1368866d3 100644 --- a/drivers/net/ethernet/litex/Kconfig +++ b/drivers/net/ethernet/litex/Kconfig @@ -5,6 +5,7 @@ config NET_VENDOR_LITEX bool "LiteX devices" default y + depends on LITEX || COMPILE_TEST help If you have a network (Ethernet) card belonging to this class, say Y. -- 2.25.1