From patchwork Tue Mar 14 12:12:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69587 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1725448wrd; Tue, 14 Mar 2023 05:26:10 -0700 (PDT) X-Google-Smtp-Source: AK7set8mpTed8ptQBnl3CVzt8KX5fWYlIer6NEWN15VmRsRfV4GYx0ZhauyceWWy0Nvmu9EOFiWh X-Received: by 2002:a05:6a20:5481:b0:cc:c3f7:9178 with SMTP id i1-20020a056a20548100b000ccc3f79178mr45600886pzk.31.1678796769991; Tue, 14 Mar 2023 05:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796769; cv=none; d=google.com; s=arc-20160816; b=A0bj+MpTxn6caqIDvMMhyK3dXs6N3FdLLCnkVzeEoWKROVzZmRebH1r7VukzUxjmFW U5cijGa9vvH1AKyIaOdyKfOQd/DlbF+hvCQgSYFV7yeJMqVllREYjobSow6qrgO2cn4K 7mFvOyZ/8Dhfi/QbPHoMOV27XksLw6kNsXcI9mAui9hZPAeXrds4WcAfRxHGxHIvwNa/ VQIjm4vNSifaiPBIgByGujMrxD0a5KyYSA/wCROLFeqXl0tBvKMijiz3xhWGVuwSXjfS J74jI3hNOPqLXNBpGkVbKp3zMQ8KP0FAwM1grImXoUGSQfdBDipLEr4HelHHmDYvZhYQ PUUw== 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=JGZjUvHW9OTgIPAS677cE3e+uqj5f0D2PWaalmgOXGU=; b=XHeREChr1Y0Nq2b8LYhMmg9si6g99CvkowyJHrXj0FhV6LYRkKBBwtcCdsL4Wtu4oV ZYNiqGuX3TBfBD5HMIEreUdpJ1Yz9YCGxXz2ya5HP/N3H0z3yKdf2492IzihSAUnPuy9 VMlrbm5IfQlmhpOVoJxzPa893iQlOSg0sAH5q5RAgxPuxmYEVh+bEhWctFeoWvfqhUet E+J8y+mLuCmdcIUGUtcf2OjYB6Z74ETM/ULnYFx5r5Off9WmcxzYr48VP0wCC3kp60Uv XSJoQnKVAA60mQ5CwuxoH0k1gEizx+7sSp9IoC/CRXJhsg5wQdt8uk07BvbuCCsP8++o hTyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=HUTzGHg6; 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 k18-20020a6568d2000000b0050028c526aasi2177465pgt.270.2023.03.14.05.25.53; Tue, 14 Mar 2023 05:26:09 -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=HUTzGHg6; 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 S230290AbjCNMP5 (ORCPT + 99 others); Tue, 14 Mar 2023 08:15:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231874AbjCNMOn (ORCPT ); Tue, 14 Mar 2023 08:14:43 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 638AF136C3; Tue, 14 Mar 2023 05:13:25 -0700 (PDT) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EC13Fm016816; Tue, 14 Mar 2023 12:12:49 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=JGZjUvHW9OTgIPAS677cE3e+uqj5f0D2PWaalmgOXGU=; b=HUTzGHg6rG3IBkCtTDliWAc7YYi9k8NpC0IM23JW+z21ofcA76Lupbv4hS9xPk1cxdfb sV2GN+8yp4cMBZjtkR21BfsItPhv7wIRMIbp1fdShjS32alBWwkbqLlLNpQQbiNJcMfV r44MfDp7tUEFacF6cbzVrXHLUyNzo9bYgMDKnD26r/+N/GCEruc183kqcJoCpswtQpYv k3Zi1PfLzOKAexUGLf+9WjlddCzy+y8gezfXPqBa84etbcpQzELIr8Gbf/VpMyjrA76M +qYSwqLxwu4ZqX/k7Zx2JKuHqlqv1G/vdvYzp+O051z3hjkq4OJo6uYqu8ogrrXQsCBv Yg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3paph23ufn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:48 +0000 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EBTINi024659; Tue, 14 Mar 2023 12:12:48 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3paph23ue3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:48 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32E7kqS0028633; Tue, 14 Mar 2023 12:12:45 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma04ams.nl.ibm.com (PPS) with ESMTPS id 3p8h96msmt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:44 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCgPN31523140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:42 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A06212007B; Tue, 14 Mar 2023 12:12:42 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 358E32007A; Tue, 14 Mar 2023 12:12:42 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 Mar 2023 12:12:42 +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 Subject: [PATCH v3 24/38] pcmcia: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:12:02 +0100 Message-Id: <20230314121216.413434-25-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230314121216.413434-1-schnelle@linux.ibm.com> References: <20230314121216.413434-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 3ijb_RFvwX6xZHYg55by5gLccmLL9BGy X-Proofpoint-GUID: pJNmPTfja7xpP4tEVkRETjAy-WrlOt0f X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-14_06,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 malwarescore=0 suspectscore=0 adultscore=0 phishscore=0 bulkscore=0 mlxscore=0 mlxlogscore=747 spamscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140103 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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?1760346001839561252?= X-GMAIL-MSGID: =?utf-8?q?1760346001839561252?= 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. 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,