From patchwork Tue Dec 10 20:36:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181167 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp6405283ile; Tue, 10 Dec 2019 12:37:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzWdLKDwWonOW4S2T2l/poYbL9hqTk/pd5J2deZC9MLoX/vmr0qoaW8wjWREvLlA3kUhBob X-Received: by 2002:a05:6830:10c9:: with SMTP id z9mr27501529oto.200.1576010243301; Tue, 10 Dec 2019 12:37:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576010243; cv=none; d=google.com; s=arc-20160816; b=dx49dj3jdHUjShQR8k1dGjy7HrhINrxntPWx8/7h0rC0M7Z6nFr2Xsp1/DZwbs764q nQQjqt/fuDQFDsjkcolF/8q+34/wK9diMS1yutSAQTZerRQerr9+rEafq7GjhYmY6RUC BVhbsjJCZKPGdK4ukeK1VOl0Rztv9IXcJ4ycKyRMqKKNGdUmDoRwc7UVaCR/KxcudU01 n07HZJpngtEY/nIBYwwhG+KQV0SlvWgfQ7Nwf34BNVcM9GRWl/kOdxxsmv6ZFKrHMmES jO+oQv//iSaQLXNhWos7ShTkLOUDGlk+jm3/XfEJ20OrJYGRBeCw+VfGJ3GzcxHeUthU 1djA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=8g38nobZWMeGH1Ibyh7Jb9N/M8utsqeMq4mBoFRE4FM=; b=HC0tDHsK0VWeqg2bUpH3etmQjedidBBBOQaGQ2gSiZR18pZg8F/zld5trywdZ1UVab cv0kBxb8TQOYCStGilPcIKCApky2odgb9kQzDVwbfx1zC9t+jxew1OGCO+Lfr4GBaiaQ wDU+hYL0hoqC8hP2ChMBboBGwDnqLyKtFOtJEanWYYpCgSsnujj04nPj5zzvEm4wZIE4 Ninm9a2Y17yXUV2ZqO7ZeeduuK7jkGMOR+KkyEwhM3DfYZTiVUfQeHaWBVLe5G6suYJr cW842NQuOwaJnUEFO5F2DKu5gs3KsoUzmffKKK5tyoPelKFd/Kviti66zCX1spG/Deio Ddhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si2457400otp.323.2019.12.10.12.37.22; Tue, 10 Dec 2019 12:37:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727035AbfLJUhV (ORCPT + 27 others); Tue, 10 Dec 2019 15:37:21 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:43473 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726417AbfLJUhV (ORCPT ); Tue, 10 Dec 2019 15:37:21 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1N2lzA-1hijXp0e9U-0135X3; Tue, 10 Dec 2019 21:37:13 +0100 From: Arnd Bergmann To: Vladimir Oltean , Claudiu Manoil Cc: Arnd Bergmann , "David S. Miller" , Andrew Lunn , Vivien Didelot , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net: dsa: ocelot: add NET_VENDOR_MICROSEMI dependency Date: Tue, 10 Dec 2019 21:36:54 +0100 Message-Id: <20191210203710.2987983-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:zJ2ZnfctRkGrEmmQCsTswUN3CkKSHq1z6wDjKHcvncBqdAp5pu9 Fc91qBajfNX/VAvcjRirsXJEWtk20Hjj2CsC+LuKMY987U6YhW0KRxlEzE3wzEoSyAst8m6 ycVJaUHJsiiLRvtGE8g4eQlklWuB9S/gndxdGaj8f3x/WGeUfTm0G6vw6ACENDxQpVwh/C6 YatDKbVEe+dE9+mZOa4Gg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:/oWooy0CdaA=:LmtZVsHikqzQlV95reccN3 KGxYNc/zPXeOjbYvNnBQ/JKVgXndvMBhHFKtkrjOPQgAG8pfWACWQoqz4E0FQ//L4Mj2dPJYw EKZ8GWp5AI1U95rPFF0BZGcPx7AAaHF2mtYaDZR7RI5PECoxXlKsEqt52ju/yZz3ffFz+RZkA U3SpQBcmihPlRmyaRjNE6KrKKSlnZC6vEfFCb2QSMdOz3ieqIKtDgMeEpM1S+D7PonSpcXmEL hG7IBOd/5EcYUaKBAasv+UlJQ0ffClD1+pNdBNVQnsNdr53/IZGuBbGkVoGCUztnYTak6jtLP XFvWYGeSe3iSwZJLooflerubE/JAUe9ZvVlN9ak7w+109kGGTIj1JunLBVpQkOqfwFZf2KwMq 6bj8C8xr98llq1+zQMBT17OES2DBtydhU9rA7/KC4AOn7xrZqxvmPPTuii/ECAyvAiC8ZKXay z/FlQaoRWGEB8zP6PWCGDHMhNAhS4wmdZciHZqF8+LjOdaemJX8n/yU4iONNtN04sL16HFSI4 X9rHUlJR6sdGQMDhz/BuhjTrFQQu+rXexeLB6l7h79vOeFJAKoocXXDszSFewIM0wWVIJjyQv TCqiQUmvzX1m3LDK73xd9ygYKg4cdOcg2HTuMtfBYad3tqiyK25zdZqkWO7A9TetvRV0Rt8No mzVR8J07TkKi5VMCW5QbIzkEsNbfCL7q0CSxXtfVpW1v9vKLDfazL7VSVTlcQwM2eXAOr4l0l WU8DBQlhnstG5WnK3fFMySk6U3SUiC17wbMNj5QkEfgdHLuOXQyXGqT6iuGnAoFJfMbZ/rYfp 4HTo7bX1xmlqbs3AMOU3HjO20CwcAA2RDLEGV6oytvzVxkkYxPakO3f2WBW8ZbZPXZKzFHukn wPcXoQlU2nCKe2oN0UEw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Selecting MSCC_OCELOT_SWITCH is not possible when NET_VENDOR_MICROSEMI is disabled: WARNING: unmet direct dependencies detected for MSCC_OCELOT_SWITCH Depends on [n]: NETDEVICES [=y] && ETHERNET [=n] && NET_VENDOR_MICROSEMI [=n] && NET_SWITCHDEV [=y] && HAS_IOMEM [=y] Selected by [m]: - NET_DSA_MSCC_FELIX [=m] && NETDEVICES [=y] && HAVE_NET_DSA [=y] && NET_DSA [=y] && PCI [=y] Add a Kconfig dependency on NET_VENDOR_MICROSEMI, which also implies CONFIG_NETDEVICES. Fixes: 56051948773e ("net: dsa: ocelot: add driver for Felix switch family") Signed-off-by: Arnd Bergmann --- drivers/net/dsa/ocelot/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 diff --git a/drivers/net/dsa/ocelot/Kconfig b/drivers/net/dsa/ocelot/Kconfig index 0031ca814346..6f9804093150 100644 --- a/drivers/net/dsa/ocelot/Kconfig +++ b/drivers/net/dsa/ocelot/Kconfig @@ -2,6 +2,7 @@ config NET_DSA_MSCC_FELIX tristate "Ocelot / Felix Ethernet switch support" depends on NET_DSA && PCI + depends on NET_VENDOR_MICROSEMI select MSCC_OCELOT_SWITCH select NET_DSA_TAG_OCELOT help