Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1003815ybi; Wed, 19 Jun 2019 11:37:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIfq152S9/f9F+XtZAIRcbP1NOQkHQvT/3Uq9WzjW8LRdnSkNubk7TUtT5OrywM5pXJfLU X-Received: by 2002:a62:1750:: with SMTP id 77mr59809138pfx.172.1560969423473; Wed, 19 Jun 2019 11:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560969423; cv=none; d=google.com; s=arc-20160816; b=ZGvef/7k/mVYIzJinFiIgfK2f/9dmhEtJ1RQyr0g3ueaG1IPt8uWdgcZcEfQTbxyAH lEuc+qgyPkJ6Udv0syi5yq90vYNUMigJHBIyXlXwFDMptYuQWtHU+0bHQuOxv5mVFR22 uCzKqylkz0JXkU9wj+ZVebzjHmjAXYIfYgMELZ/bbJghyLu3Oq6HEfqNelqHAwS9JzCr cJ6Dy+X5HBKLzn+mCA3GBDi+ZRK8DQwBJ/33tjK7zt/z4fwwS77hTdXJ85T3gOo4Ss+b P7AelQ3Wwp4osh+2T6Xt7+k0Fr9k/Wyw9wz1VXHg8UNUaBsL1pv1+mYFr8hHroHfbxxx Nj5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references:cc :user-agent:date:subject:to:from; bh=Km2Vnv1ONbBHaTj01hCU+M/9mQYPGewJlHf+A5pK24c=; b=v5Gxu6AMKsK+XqZMzxPykgVREiQO7qCwZW4/QLfzLJYf+DPeeJ6cQ39FPxGCQPp6EN /TsJ9hdUqAmbuH1JX+VQbDcKIvxC3f5BKUZtLSgSC3oNFs3Q/4fDa5Qfn7yVOgJ65+Jo SNzi6HjJGjPZRy1E29qiodQx8HEKOjXCr3VLdkk5J3fxyf/SJxIB8o9262vGFtQfgp72 LZwiTJYyXWiEIXBUF1jB4DPp0fJmHzzWh15xFQrEhrl4Bl72uPXnOYxT3O20N+z4WG4y PBPJEM2rJbKBnm+EpWRr7qXQrYTcPL0mLhQHXtPj+YD+xlHaRJbh6vUzQaVKaqcSpj3Y FO5w== 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 h187si17287923pfb.129.2019.06.19.11.36.47; Wed, 19 Jun 2019 11:37:03 -0700 (PDT) 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 S1730060AbfFSSgm (ORCPT + 99 others); Wed, 19 Jun 2019 14:36:42 -0400 Received: from hosting.gsystem.sk ([212.5.213.30]:40510 "EHLO hosting.gsystem.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbfFSSgm (ORCPT ); Wed, 19 Jun 2019 14:36:42 -0400 Received: from [192.168.0.2] (188-167-68-178.dynamic.chello.sk [188.167.68.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id 2E7187A0318; Wed, 19 Jun 2019 20:36:41 +0200 (CEST) From: Ondrej Zary To: "Martin K. Petersen" Subject: Re: [PATCH] scsi: fdomain: fix building pcmcia front-end Date: Wed, 19 Jun 2019 20:36:37 +0200 User-Agent: KMail/1.9.10 Cc: Arnd Bergmann , "James E.J. Bottomley" , Hannes Reinecke , Johannes Thumshirn , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190617111937.2355936-1-arnd@arndb.de> In-Reply-To: X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201906192036.37384.linux@zary.sk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 19 June 2019 05:13:01 Martin K. Petersen wrote: > > Arnd, > > > Move the common support outside of the SCSI_LOWLEVEL section. > > Alternatively, we could move all of SCSI_LOWLEVEL_PCMCIA into > > SCSI_LOWLEVEL. This would be more sensible, but might cause surprises > > for users that have SCSI_LOWLEVEL disabled. > > It seems messy to me that PCMCIA lives outside of the LOWLEVEL section. > > Given that the number of users that rely on PCMCIA for their system disk > is probably pretty low, I think I'm leaning towards cleaning things up > instead of introducing a nonsensical top level option. > > Or even better: Get rid of SCSI_FDOMAIN as a user-visible option and > select it if either of the PCI/ISA/PCMCIA drivers are enabled. SCSI_FDOMAIN is not an user-visible option. PCI/ISA/PCMCIA drivers select it: Symbol: PCMCIA_FDOMAIN [=m] Type : tristate Prompt: Future Domain PCMCIA support Location: -> Device Drivers -> SCSI device support -> PCMCIA SCSI adapter support (SCSI_LOWLEVEL_PCMCIA [=y]) Defined at drivers/scsi/pcmcia/Kconfig:22 Depends on: SCSI_LOWLEVEL_PCMCIA [=y] && SCSI [=y] && PCMCIA [=m] && m && MODULES [=y] Selects: SCSI_FDOMAIN [=m] Symbol: SCSI_FDOMAIN [=m] Type : tristate Defined at drivers/scsi/Kconfig:666 Depends on: SCSI_LOWLEVEL [=y] && SCSI [=y] Selected by [m]: - SCSI_FDOMAIN_PCI [=m] && SCSI_LOWLEVEL [=y] && PCI [=y] && SCSI [=y] - SCSI_FDOMAIN_ISA [=m] && SCSI_LOWLEVEL [=y] && ISA [=y] && SCSI [=y] - PCMCIA_FDOMAIN [=m] && SCSI_LOWLEVEL_PCMCIA [=y] && SCSI [=y] && PCMCIA [=m] && m && MODULES [=y] Symbol: SCSI_FDOMAIN_ISA [=m] Type : tristate Prompt: Future Domain 16xx ISA SCSI support Location: -> Device Drivers -> SCSI device support -> SCSI low-level drivers (SCSI_LOWLEVEL [=y]) Defined at drivers/scsi/Kconfig:687 Depends on: SCSI_LOWLEVEL [=y] && ISA [=y] && SCSI [=y] Selects: CHECK_SIGNATURE [=y] && SCSI_FDOMAIN [=m] Symbol: SCSI_FDOMAIN_PCI [=m] Type : tristate Prompt: Future Domain TMC-3260/AHA-2920A PCI SCSI support Location: -> Device Drivers -> SCSI device support -> SCSI low-level drivers (SCSI_LOWLEVEL [=y]) Defined at drivers/scsi/Kconfig:670 Depends on: SCSI_LOWLEVEL [=y] && PCI [=y] && SCSI [=y] Selects: SCSI_FDOMAIN [=m] -- Ondrej Zary