From: Soumyajyotii Ssarkar Date: Tue, 14 Oct 2025 20:46:15 +0000 (+0200) Subject: hw/scsi: Add config option for new ncr710 driver X-Git-Tag: v10.2.0-rc1~42^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=008aad460dedd84cc922ceeb9badf37fd71d6136;p=thirdparty%2Fqemu.git hw/scsi: Add config option for new ncr710 driver Add config option and wire up in meson makefile. Signed-off-by: Soumyajyotii Ssarkar Signed-off-by: Helge Deller Reviewed-by: Richard Henderson --- 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'))