From patchwork Mon May 22 10:50:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 97284 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1363754vqo; Mon, 22 May 2023 04:10:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6DY0JKnTIkoQDZw0/SlG/vtsZUeQJd90F+EqWX7tSiZ+lZ0l6oUtq5maFTvfEII6aavTPO X-Received: by 2002:a05:6a20:9194:b0:103:a24e:9a48 with SMTP id v20-20020a056a20919400b00103a24e9a48mr10135001pzd.17.1684753832625; Mon, 22 May 2023 04:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684753832; cv=none; d=google.com; s=arc-20160816; b=CVPJhtcjfMbCciyw5j3gCKflz19DNRrBbP5dz3rO7THebiJh6rjxz6JTvKoNKR37Hn fOv+ERBrAqjnK0T16Nyca5/a8p71fzUwjivi6aFYc4IV06eIL+jcI/ZJatbtCdU73jNy wE1enr0AYt51VgBrc298gBMdVfwR2j3dbvDi99zFH/TFVcEcrKZF+5j399Lo9F+hemky AohxcaIkA0bL2TK2Tn8v+xpRYxtDtsJK3+HEOI0kHNC3gEXlElu2mBoe385zm4de9pbk ARq8n8Jw7dJwd5gEg7nxLgU76Fku4MW2rrCxBXxeoA2Vq1Yu7/3BWgT+BfX1w+FrmtAq QFYA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xaZ5A3heXCuBKW5DAONVTDU8UHoy6o2PjboMxNsRP2A=; b=tpd37E4RQvSWx7vR+sykSS10QnpWi8orvCI0cHAG8sc0PG5e2G1WEgtbbbtxhzhPbw VaAcAmLh3+7dQ+/XUk5W+cmXe1GR+rEwZK43uGbgTPoaTQxabroDM5xm4JqqCRLedaEm receuyl3kkNRBbTS1c9eJP9IcjDzL1nIK4rU1mGf5auOevwJZoT1pxRw/2/XigOAN2ro 90AHLcyNCQrKW2gHK8EX8CAyCGcoAajC99/4E6uA9qIb4cGu0ykU+murrFwvpGSkwpFw zmc+qscavtcdv8erKCXZhyxOdrILHbMKjXVW6ax1YJN5ltW0UOHtE9ieH8Tra3iDbInx gynQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Lzk6TR4V; 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; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a65480b000000b0052c8d7a08a4si4480819pgs.8.2023.05.22.04.10.16; Mon, 22 May 2023 04:10:32 -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; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Lzk6TR4V; 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; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbjEVKxn (ORCPT + 99 others); Mon, 22 May 2023 06:53:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233004AbjEVKwP (ORCPT ); Mon, 22 May 2023 06:52:15 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DE64E72; Mon, 22 May 2023 03:51:33 -0700 (PDT) Received: from pps.filterd (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34MAMbDw025803; Mon, 22 May 2023 10:51:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=xaZ5A3heXCuBKW5DAONVTDU8UHoy6o2PjboMxNsRP2A=; b=Lzk6TR4V8z95DpnzlxkCTle9Z2i1E3FJjsPZelsVjUfy8fAzaHTxM4f09E90MnkLS6jg H8DNIr8lxV0vwpNDL8ABU6hdpb2mnWX7wiRXN7Rg+JwYa5g6e+ydUL/32daT/JL5DLfk l5rNqbspYihmYpPcdwUiHgslnsFSmBvk524jvOJzcb+1ZH1gKXWcfho4yW188taVSRwd jWw3c51uuflIupK5WPMOeIYdDi5XF/CgyX+Gn3tIY1b0k4Yojl6JPlPgBbd8GH7E0RLg ImVwV/R236myDQ5/hTAJbkd2FMqdY3w+7RirTt3o2ptB5T3qbUBIPdiDfO5QlHvcdvsS NA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqd3tc9a6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:20 +0000 Received: from m0353723.ppops.net (m0353723.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34M9hCjr009606; Mon, 22 May 2023 10:51:20 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqd3tc99j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:20 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M3tYdo009545; Mon, 22 May 2023 10:51:18 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma03ams.nl.ibm.com (PPS) with ESMTPS id 3qppcu8wf2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:17 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MApDOp16253666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:13 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B91620043; Mon, 22 May 2023 10:51:13 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CE01E20040; Mon, 22 May 2023 10:51:12 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 May 2023 10:51:12 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Dominik Brodowski Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann Subject: [PATCH v5 26/44] pcmcia: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:31 +0200 Message-Id: <20230522105049.1467313-27-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522105049.1467313-1-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Vs47JZMuDtLPzFWYPWjaNXHRYKtr7G7l X-Proofpoint-GUID: 4wWvJM3Gel_XSKs4NByz_tV0ibvADfBw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-22_06,2023-05-22_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 suspectscore=0 malwarescore=0 clxscore=1015 mlxscore=0 bulkscore=0 spamscore=0 mlxlogscore=664 impostorscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220089 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766592435012762042?= X-GMAIL-MSGID: =?utf-8?q?1766592435012762042?= In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. Add dependencies for those drivers that use them. Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/pcmcia/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index 44c16508ef14..e72419d7e72e 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig @@ -5,7 +5,6 @@ menuconfig PCCARD tristate "PCCard (PCMCIA/CardBus) support" - depends on !UML help Say Y here if you want to attach PCMCIA- or PC-cards to your Linux computer. These are credit-card size devices such as network cards, @@ -113,7 +112,7 @@ config YENTA_TOSHIBA config PD6729 tristate "Cirrus PD6729 compatible bridge support" - depends on PCMCIA && PCI + depends on PCMCIA && PCI && HAS_IOPORT select PCCARD_NONSTATIC help This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge @@ -121,7 +120,7 @@ config PD6729 config I82092 tristate "i82092 compatible bridge support" - depends on PCMCIA && PCI + depends on PCMCIA && PCI && HAS_IOPORT select PCCARD_NONSTATIC help This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device,