Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2755221iob; Sat, 30 Apr 2022 18:56:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS9k8htiR/zLQYxaFGucMYuVaFZomSUfE6mXuzdzeDjeVc93qUh1hEPAXzcb92VlM1dATI X-Received: by 2002:a17:902:8605:b0:15d:10dc:1c6f with SMTP id f5-20020a170902860500b0015d10dc1c6fmr5856421plo.4.1651370186947; Sat, 30 Apr 2022 18:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651370186; cv=none; d=google.com; s=arc-20160816; b=ZHOUj34cXm/oN81xnq+2CXUZDXueqd0NT1FwwxHJBZzpKc7G1AFuKZyeBWef9+Kv3M 6WND+m/kmhMI1kJE+/BmfahZdVT010zm9sVppzt/1EH+FOomAwQnTaMKBt5VJ3D3zTJs EY2zbGnOJxfHC3zmaDwYkEvF5WJxpBHstp/r4Yj/s5x57JIuN4o6Xa1d3qZ1YVPfznkp QtzvnVxmNFE7ZSP9iLgtMJzneyIm1U3yE1kusAgSIVreNTgE07rGah83U0O393qE9p5j 4ALeXr5W23ETw9biwNK03LP/wIdtzxd4Fv8u87kdKFqSelz7kN8T3uv8SkbZFyUmY9PI DcPA== 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=5dgPlb1Riino9LwWNiwefYKwfM8FCUXTSZxjFS+frQ0=; b=zv7ovGYwINQVuEDqA8Kl0zvasF8fc24C2X0nHU2/byTFwyedrdnfSC0e4QDL6VMZcu J3/C9pTnx8lOYXkbEUNnvwofWad0ieE6ZUCypyiUZmYqZj7RrHqFBr+THCgRc//X4DBE NOXh0jB80JNnezwkuVZ4ZDVDKBMTAbo1brGK9+PGCfcPs2kVyIILQ3csHhdQBa7Z1Lyg ROhK/1w1z40us1Q1GjGfifZiRA83PkdbmP83Wky9n0654irQ7mxUMIjNtoFppJu9VclN IUzUI4PuPVHkLgSPoU2C6jl6HUllm6hFBbdcFLN5Ppo5HA/8Wm66nYBA3f3TJCAoEmKh invA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PYyigvNa; 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=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020a627b11000000b0050cf519ee15si9935775pfc.220.2022.04.30.18.56.07; Sat, 30 Apr 2022 18:56:26 -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=PYyigvNa; 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=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376452AbiD2Nyz (ORCPT + 99 others); Fri, 29 Apr 2022 09:54:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352824AbiD2Nyl (ORCPT ); Fri, 29 Apr 2022 09:54:41 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3F9B5640F; Fri, 29 Apr 2022 06:51:22 -0700 (PDT) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TCsKmS020207; Fri, 29 Apr 2022 13:51:16 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=5dgPlb1Riino9LwWNiwefYKwfM8FCUXTSZxjFS+frQ0=; b=PYyigvNa8ev5/LJoSjkKjiFtI23+o8mlPTQFlZnoQJ5SVZxa7EgTDp+O2HFHlyFmHGif Op+Ev32eqGNAPLLUE12742XWnAebf2neVV39nGG72YYJ4b5kHMlHFXBzN2cKleWMjr7T JsCX0O2K1NvZXO4osiit9ohgaWDj0vxQnokPqDhOE/exxUsFqTsWfevgNjMvQzoMH6mW M1esZElQiusZ3Y8TY3alWfB68gU16sBWjGWr0Q+XsWSsF4uDOkMEXoNXdovq4wYw0jRZ gsXq/QwS5ZbJzW8HNxNHsf7jXJyfdA02CaJ5GExe0ZXjE8h7KfJ9uSuSmFBgKG54mKko cg== 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 3fqtqvwsrx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:16 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDQvPQ014336; Fri, 29 Apr 2022 13:51:14 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma04ams.nl.ibm.com with ESMTP id 3fm93916vy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:14 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpC3H38666540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:12 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3E3924C046; Fri, 29 Apr 2022 13:51:12 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E27024C040; Fri, 29 Apr 2022 13:51:11 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 13:51:11 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Damien Le Moal , linux-ide@vger.kernel.org (open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)) Subject: [PATCH 02/37] ata: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:01 +0200 Message-Id: <20220429135108.2781579-4-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220429135108.2781579-1-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: AEuzC-p_0BcHadJ6jT2FpMIi3woHKtiA X-Proofpoint-ORIG-GUID: AEuzC-p_0BcHadJ6jT2FpMIi3woHKtiA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_06,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 adultscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290078 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 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 --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index bb45a9c00514..a2dea866b086 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -332,6 +332,7 @@ endif # HAS_DMA config ATA_SFF bool "ATA SFF support (for legacy IDE and PATA)" + depends on HAS_IOPORT default y help This option adds support for ATA controllers with SFF -- 2.32.0