From patchwork Tue Mar 14 12:12:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69581 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1722328wrd; Tue, 14 Mar 2023 05:19:17 -0700 (PDT) X-Google-Smtp-Source: AK7set+E24iAyZtGJDqItwmD2wUUUoqr24czZ5q1CAbeSffuPUMI1Bo9ZlUltyqmlnYghGjDTY7f X-Received: by 2002:a17:902:ff02:b0:1a0:468b:4b23 with SMTP id f2-20020a170902ff0200b001a0468b4b23mr6240562plj.33.1678796356899; Tue, 14 Mar 2023 05:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796356; cv=none; d=google.com; s=arc-20160816; b=Dx1wWItU/yWpLPmZAXdQHOtVSzW1Ka8SZ3vrM7oPVGl37/EO6eE5YcMtqk7b/fBXF2 C+60CCbfg5NDKrsO2LjR0A8tEi/uxQDfbnoaEBCgHljXQfyyQTeEprARS3gXm0vnRqSm th0gJN2iswFlXqhGkpGBNqTxD9FSbIzl3fvJB/MxsjiKzFviidMaQqmVVmnXIHzd/okM EQb5xmXlI04RxVKDR9YtI+NSwA6DMhf3tfAhn+k9qiA+Qdn2MVo3qF+bQ/hHKLVeucfh 5cSmiCqne+8OfkbetRpilZlmdiZ76Od4blRi+l1dR3FXMVW3Z7Ls5C8yiM7xis+obgFX UNGA== 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=NpbZpIXcEiB6KX21yJypQYyMIi/8WOWrHa9p5niq72s=; b=C6p6j+p03+NV8wFKcx/arKgbeFGUqRECFM1icfqLWdrSjJFa5gm4uGmvCYfbMsBPw9 8ghBhit/o2fwmlqkxUmeGO5fW6qzvvGrlFiYKr8DcrAl9AFuYGNXWGNeCN1EaV5TsV0v Aza0R2MDo9QiDz8RruLk5nBQbDcLddYVT8Hjjuy55NmObmH+gGVd2/yq3B4Ob7k8X/pE GI1btETLDCQ194g7XIhQef1FJcBuglhdnS/fzli8i31iJ9VTmtVTYBQoUB+yQcVygsLx mt9IZdylNYoBiun9GZjSsgh2I01MJoHerAeJUDqlZ6vfiPWuj6A+uE72bHP7JYY99Yd0 +fJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=JTfmETCI; 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 a5-20020a170902ecc500b0019b090e497esi2335853plh.298.2023.03.14.05.19.00; Tue, 14 Mar 2023 05:19:16 -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=JTfmETCI; 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 S232036AbjCNMQj (ORCPT + 99 others); Tue, 14 Mar 2023 08:16:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231936AbjCNMOu (ORCPT ); Tue, 14 Mar 2023 08:14:50 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B8B492BFA; Tue, 14 Mar 2023 05:13:41 -0700 (PDT) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EC01Os030125; Tue, 14 Mar 2023 12:13:02 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=NpbZpIXcEiB6KX21yJypQYyMIi/8WOWrHa9p5niq72s=; b=JTfmETCIN9yZ00k5BBD+1EV9ePih4F0tRF77tXaZwmKHEOrptbD2Idx3ip5xfQ+qC5Jj zf1caJvskEjjJhGXDs8JKXLxlnVU0Q8HfN0oiSRDOEukCrDMgV2ScAzs2e2W4GIZXwxI JWP5GhWFf+Sfp1kzZBhoBVHWDSxNWSw5FGkdkS/w//uDu38dK+evZIs/Q4C2DVevqvMY WLUEWpAnHc1N2zZQa3b9vs1RiYX1ILh3DB9DySoeJ0p3Wje/+pcZyIIRjyTLpooyYbT1 Qp4oEMb4BiPRNf4eMvyUf8wQFFrme9Ju3xx4t3GiAfWc3WhVCO+mqpaV4vLgXFxBt9J1 xg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3pampuq6tj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:13:02 +0000 Received: from m0127361.ppops.net (m0127361.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EBrksc012319; Tue, 14 Mar 2023 12:13:01 GMT Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3pampuq6sh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:13:01 +0000 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32DMh3Lc001838; Tue, 14 Mar 2023 12:12:59 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma05fra.de.ibm.com (PPS) with ESMTPS id 3p8h96kscv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:59 +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 32ECCuJa28180848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:56 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 839512007C; Tue, 14 Mar 2023 12:12:56 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ED6262007A; Tue, 14 Mar 2023 12:12:55 +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:55 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jouni Malinen 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 , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v3 37/38] wireless: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:12:15 +0100 Message-Id: <20230314121216.413434-38-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: quXzx21nxib29bozcGJ-SNj6I_hm2fkT X-Proofpoint-GUID: iw3ZarVQfr8KU1Y5qun1Gw0t6IIDWNjz 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_04,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 suspectscore=0 mlxscore=0 clxscore=1011 priorityscore=1501 bulkscore=0 mlxlogscore=926 spamscore=0 adultscore=0 phishscore=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,RCVD_IN_MSPIKE_H2,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?1760345568700223504?= X-GMAIL-MSGID: =?utf-8?q?1760345568700223504?= In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle Acked-by: Kalle Valo --- drivers/net/wireless/atmel/Kconfig | 2 +- drivers/net/wireless/intersil/hostap/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/atmel/Kconfig b/drivers/net/wireless/atmel/Kconfig index ca45a1021cf4..bafdd57b049a 100644 --- a/drivers/net/wireless/atmel/Kconfig +++ b/drivers/net/wireless/atmel/Kconfig @@ -14,7 +14,7 @@ if WLAN_VENDOR_ATMEL config ATMEL tristate "Atmel at76c50x chipset 802.11b support" - depends on CFG80211 && (PCI || PCMCIA) + depends on CFG80211 && (PCI || PCMCIA) && HAS_IOPORT select WIRELESS_EXT select WEXT_PRIV select FW_LOADER diff --git a/drivers/net/wireless/intersil/hostap/Kconfig b/drivers/net/wireless/intersil/hostap/Kconfig index c865d3156cea..2edff8efbcbb 100644 --- a/drivers/net/wireless/intersil/hostap/Kconfig +++ b/drivers/net/wireless/intersil/hostap/Kconfig @@ -56,7 +56,7 @@ config HOSTAP_FIRMWARE_NVRAM config HOSTAP_PLX tristate "Host AP driver for Prism2/2.5/3 in PLX9052 PCI adaptors" - depends on PCI && HOSTAP + depends on PCI && HOSTAP && HAS_IOPORT help Host AP driver's version for Prism2/2.5/3 PC Cards in PLX9052 based PCI adaptors.