Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp93135rdh; Mon, 18 Dec 2023 05:26:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHO5R3D6v/5+1HuNZhNi5wkFiVshjWn5fIvtXzMetAhIFAXAQOJLvMA1CAqhaldVkJx0PIt X-Received: by 2002:a05:620a:222b:b0:77d:cb8c:38a2 with SMTP id n11-20020a05620a222b00b0077dcb8c38a2mr15737102qkh.23.1702906014966; Mon, 18 Dec 2023 05:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702906014; cv=none; d=google.com; s=arc-20160816; b=DVCYIAuO+HfFbQWygeMUEZaqJAxVDgkt9KgCTg1aqG0K8vyoGKIqekjbJOqglXZwwL /HSTVJJvX4du+YSTxL7O97Uy5tanJ+/F07y/oGWDFqyeaJheVIRIb96/sZutoCgT/0Zz h4aF9Jl8r+v84kJSxhv3koK6nPEAdAeTSPJmXL5cXFl+Vep9hmARv35IDL6c0Jlv/n82 HMA60DHrr5Hsd1soSuZkbBI48KgdPs4OzUNuN+suKC/OhfNNND5Sb7WdAD0QHajSDcco LX9mrwLcjGwzO0zf2ogoNxW7+CnEt+Mtfzi9yE+wAxbETeO0HGBaZw6qqp0KjsZx0E3g 5gZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=CbJYyBnHSJO5HpsM1rF1MdLZBV/rqZTitFQxv3HNgg4=; fh=3pWUWM/7PDbf2adeJ+sAvqRTMnW+ZS6WhdrwAKBgmtc=; b=zpBGrH5HFEqZCEfqJKVBPParf9OvPOzwKrBEMUSJPIpFvRQN9C5ePo4Aa11MPwab91 A8UdSVN+A9JVP8fniEfzTeCDIURj6NzhXS5/7pFMcHhHWQvXn90gEPbCYU+ZR8seQJP4 XDC/KNF+ilJ1vvzfqwta/Xwa1iHUIPFkVTJCHLEnsJxqToavMyaUMKS/3QTQIUt/2q6S 7+J69+F17euT1bYTJ8m6N0b5mQ8E2rw3262XxcdQQOJFT3mXyvTQS3FmiZ5cE2+pb/Th immiNe86dAPH3gfxR/UjK1n7s10L+mZqpXTHRQcJB7u+CR8X4Kb3w4f290z7CNjEASSG ODeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=AcDH1kEU; spf=pass (google.com: domain of linux-kernel+bounces-3741-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c1-20020a37e101000000b0077f33376a64si22904890qkm.530.2023.12.18.05.26.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 05:26:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3741-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=AcDH1kEU; spf=pass (google.com: domain of linux-kernel+bounces-3741-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B29021C24B16 for ; Mon, 18 Dec 2023 13:26:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CD4479953; Mon, 18 Dec 2023 13:18:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="AcDH1kEU" X-Original-To: linux-kernel@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4767B129ED9; Mon, 18 Dec 2023 13:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=CbJYyBnHSJO5HpsM1rF1MdLZBV/rqZTitFQxv3HNgg4=; t=1702905496; x=1704115096; b=AcDH1kEUKaxt8lKZRCfQ5cFR1//iEBJV6PdxXPYUNWUIQ0/ /kr5IkqwjsWTdTGpb7rCYRlnsEjz1YWqeraGkuv7ipRzu1j/x1JIi49y2QTtpsPKBJZCrBBKpZ5uG NJfEILTqzbVmKpf8JGMJ2LUofZLYaBKwtJ4Fy1qalX+PVCrZ9YGprDPn2biaI5jJirmv6E7XVaGI9 apsMZxZqf8E7esShfqSKyFmsXGp2XSvROrN5PkXVSojGIj4NRficzE2Vmzxm2Sq2O7JiNLh6x8pds hz0sqfe6zrZEq/6567MDaiIL8hWxyHQaw+gbiprCLORGHsrngEQ7bU6wG2j7PQ2g==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rFDVR-0000000GE7Q-0yMv; Mon, 18 Dec 2023 14:18:01 +0100 Message-ID: <26207725d5025318b831dd5a5feca67248aaa221.camel@sipsolutions.net> Subject: Re: [PATCH] bcma,ssb: simplify dependency handling for bcma and ssb drivers From: Johannes Berg To: Lukas Bulwahn , =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Kalle Valo , Larry Finger , Arend van Spriel , Franky Lin , Hante Meuleman , Michael Buesch , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, b43-dev@lists.infradead.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 18 Dec 2023 14:17:59 +0100 In-Reply-To: <20231218115802.15859-1-lukas.bulwahn@gmail.com> References: <20231218115802.15859-1-lukas.bulwahn@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.2 (3.50.2-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Mon, 2023-12-18 at 12:58 +0100, Lukas Bulwahn wrote: Dunno, I'm not super involved with this but ... > +++ b/drivers/bcma/Kconfig > @@ -1,12 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0 > -config BCMA_POSSIBLE > - bool > - depends on HAS_IOMEM && HAS_DMA > - default y > - > menuconfig BCMA > tristate "Broadcom specific AMBA" > - depends on BCMA_POSSIBLE > + depends on HAS_IOMEM && HAS_DMA [...] > config BRCMSMAC > tristate "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver" > - depends on MAC80211 > - depends on BCMA_POSSIBLE > + depends on HAS_IOMEM && HAS_DMA && MAC80211 > select BCMA to me it kind of seems more obvious for example in this case to say "depend on BCMA_POSSIBLE and select BCMA" rather than open-coding the BCMA dependencies both here and in BCMA? Now granted, they're rather unlikely to _change_, but it still seems more obvious? johannes