From patchwork Tue May 16 11:00:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 94647 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp349571vqo; Tue, 16 May 2023 04:26:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QeKSlpSvG9SYZ4/f/Ncui9Wpdh8oNSUrujn4YIhWJwQR1HKmnFvmnv67Q/zVNbxom57Gv X-Received: by 2002:a17:902:bb8a:b0:1ad:e19f:bb66 with SMTP id m10-20020a170902bb8a00b001ade19fbb66mr12411424pls.12.1684236387545; Tue, 16 May 2023 04:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684236387; cv=none; d=google.com; s=arc-20160816; b=skMdsYWxsakVGrGOEpQ7I8VMlraEAB7FRVy7eVzlAC85VrMxCfu21HE36tym5QRMW4 q14dVCDDxkh+YzuXI/A8YmcioXQpoiola2aGssNREyjdyusyHAsaC5WtdFcRbaiBqkem fkE7n9KqkrL9B2OoQrjy5POxzF42MJESx5+i9Abro2SIZJAJUnHtzgTrT3RsiOGtuWZI t8ysU++WpMAaxdYu6Jbk48xAKQLnv8OSTo6UqnAvg10kigsoblqO+//qx7yGOjpwhK7J 59c/BKfAxFldkTlE8A0YBzmSS2KayB6snQ9OFeI89AvK00NUt8qZOV1BLiK26LGSfBaZ vL3w== 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=+CZFKwjlZw8+fbtdrGpi4YKigqcQta3Z8solxdmEXwU=; b=ZbSM0wScZXz8ZFO61tXGUhhcCUKa0xcwZkhYrQjS8tnIfzO3WAzG+WdTU5G7m0f3ZD pkMRoCDA/0zp2w7Wr+c4MGlVi51eDDb9QN/vpuSEmm+QltdV2NtPPEu7oxLfE5nOIInn NZcKwGrE2KLrRuni8iaa7u8wC7UHxPoMP+y1h9muaxrCxDDI76hSnIq4Hc+FHrXNVVR6 Lk+N+1O945Lm4OXt9jHNhDABz2Bb+ZfbV1V89ndlcM6j3b6U8igXKFBXxFp6e6E5PlIk 07MxD8a67COEohcpKstIBM7JbPT/3fv8cnlHSUyX73dZEDyCBs0xP/Tm/SFEolSuWE/b ELQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jNchZ4Jl; 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 k6-20020a170902694600b001ab23cbe13bsi16524400plt.104.2023.05.16.04.26.13; Tue, 16 May 2023 04:26:27 -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=jNchZ4Jl; 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 S232651AbjEPLDE (ORCPT + 99 others); Tue, 16 May 2023 07:03:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbjEPLCa (ORCPT ); Tue, 16 May 2023 07:02:30 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888F16E85; Tue, 16 May 2023 04:01:23 -0700 (PDT) Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GAjNbq031248; Tue, 16 May 2023 11:01:07 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=+CZFKwjlZw8+fbtdrGpi4YKigqcQta3Z8solxdmEXwU=; b=jNchZ4JlPJ85zLqPydO7V8SzC39nVMYm5xazFqQkbK6G1GnCHMTa1qrKcQt2S3rQ8gBr Z4PuXOQVgh/E9ebfmmMNylV/GhzH97OF6QAoH0OibEE1enoTBwnNEOXmYBkqZHbGVMhT TTz6XUgyVOO/8QKb6nAqKUprvXxuc+0whEZaW0MI9YZfV3pC3Xpxts0pyxIo0CaNgilk 18p0ob+Lq5WSGNxPaA8aQ8mbglqpBUNr0SLtM/ef2eRRv6TctPP0aiat5sIIwZPZTGze Err4SHOX86Elh8FNugI0CXdGOYsYgm+Qd/9qcZJUEgNx4R/r8SnPcvD05aTncW+khfSR yg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8bn0e6q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:06 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34GAsU2J032543; Tue, 16 May 2023 11:01:05 GMT Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8bn0e5a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:05 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34G4aqr4028447; Tue, 16 May 2023 11:01:03 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma01fra.de.ibm.com (PPS) with ESMTPS id 3qj264saka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:03 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34GB109t22348386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 11:01:01 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CB8332004B; Tue, 16 May 2023 11:01:00 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 79B2E20043; Tue, 16 May 2023 11:01:00 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 16 May 2023 11:01:00 +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 v4 24/41] pcmcia: add HAS_IOPORT dependencies Date: Tue, 16 May 2023 13:00:20 +0200 Message-Id: <20230516110038.2413224-25-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516110038.2413224-1-schnelle@linux.ibm.com> References: <20230516110038.2413224-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: wvAvXwQSGclw70tZyppaMBlt1RE1B7e2 X-Proofpoint-ORIG-GUID: DeywdtmKt-jjsoM2bxgELqjGwE0ZkFbP 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-16_04,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=794 impostorscore=0 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 clxscore=1011 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160089 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?1766049854481039966?= X-GMAIL-MSGID: =?utf-8?q?1766049854481039966?= 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 --- Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so per-subsystem patches may be applied independently 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,