From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD6DDCCD1A4 for ; Fri, 17 Oct 2025 20:08:50 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v9qjH-0005zp-FR; Fri, 17 Oct 2025 16:07:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v9qjG-0005zX-6z for qemu-devel@nongnu.org; Fri, 17 Oct 2025 16:07:10 -0400 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v9qjD-0005Ns-2f for qemu-devel@nongnu.org; Fri, 17 Oct 2025 16:07:09 -0400 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 331CE4032F; Fri, 17 Oct 2025 20:07:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03103C113D0; Fri, 17 Oct 2025 20:07:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760731624; bh=4Uy6yyK8sAQ+CJ5rjNQUCsbm4BjkN21J22HL2WnGsSA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j9HNCfYyrXJ2OENpvL+683nGOZyWGNMmPSzYCtjEn0wAA389NLj7PY8t25zkFV7B2 cq8h4NsF4AWC7KlCehA4TbDmFQZXkpxXd9p0tp49dQwd1CiWBqlUqrysWTGCUbyjp3 JQLSwVfvAs5aVS6X7Ed764MInD/o5aF+b6yS0XJnN+eZlnLDEIsDLlNJebwRDD9Rxp AwHaO++plcd/grAFEn1YZ/iytSstQfjq5WxLUCytHfCSLbLhkdNi4EgFWmaIxWPtgm A5rYB1FkXMzop+0Q7c/y9ymYSUznyy+GZiIsuDtk1oqRx9S1HlIAJoDYZbLiFm4n/k dX3Hul9Fsn+BQ== From: deller@kernel.org To: qemu-devel@nongnu.org, Richard Henderson Cc: Helge Deller , Soumyajyotii Ssarkar Subject: [PATCH 04/10] hw/scsi: Add config option for new ncr710 driver Date: Fri, 17 Oct 2025 22:06:47 +0200 Message-ID: <20251017200653.23337-5-deller@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017200653.23337-1-deller@kernel.org> References: <20251017200653.23337-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2600:3c0a:e001:78e:0:1991:8:25; envelope-from=deller@kernel.org; helo=sea.source.kernel.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: Soumyajyotii Ssarkar Add config option and wire up in meson makefile. Signed-off-by: Soumyajyotii Ssarkar Signed-off-by: Helge Deller --- hw/scsi/Kconfig | 5 +++++ hw/scsi/meson.build | 1 + 2 files changed, 6 insertions(+) diff --git a/hw/scsi/Kconfig b/hw/scsi/Kconfig index 1feab84c4c..5743ee9b4d 100644 --- a/hw/scsi/Kconfig +++ b/hw/scsi/Kconfig @@ -7,6 +7,11 @@ config LSI_SCSI_PCI depends on PCI select SCSI +config NCR710_SCSI + bool + default y if LASI + select SCSI + config MPTSAS_SCSI_PCI bool default y if PCI_DEVICES diff --git a/hw/scsi/meson.build b/hw/scsi/meson.build index bb7d289aa0..b874fe1ecd 100644 --- a/hw/scsi/meson.build +++ b/hw/scsi/meson.build @@ -12,6 +12,7 @@ scsi_ss.add(files( scsi_ss.add(when: 'CONFIG_ESP', if_true: files('esp.c')) scsi_ss.add(when: 'CONFIG_ESP_PCI', if_true: files('esp-pci.c')) scsi_ss.add(when: 'CONFIG_LSI_SCSI_PCI', if_true: files('lsi53c895a.c')) +scsi_ss.add(when: 'CONFIG_NCR710_SCSI', if_true: files('ncr53c710.c', 'lasi_ncr710.c')) scsi_ss.add(when: 'CONFIG_MEGASAS_SCSI_PCI', if_true: files('megasas.c')) scsi_ss.add(when: 'CONFIG_MPTSAS_SCSI_PCI', if_true: files('mptsas.c', 'mptconfig.c', 'mptendian.c')) scsi_ss.add(when: 'CONFIG_VMW_PVSCSI_SCSI_PCI', if_true: files('vmw_pvscsi.c')) -- 2.51.0