SCSI-NCR710/parisc: Wire up NCR driver

Signed-of-by: Soumyajyotii Ssarkar <soumyajyotisarkar23@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Soumyajyotii Ssarkar
2025-10-14 17:44:25 +02:00
committed by Helge Deller
parent 29a51c6de4
commit 41f1a67c90
4 changed files with 12 additions and 1 deletions

View File

@ -35,7 +35,7 @@ SRCBOTH=output.c string.c block.c cdrom.c disk.c kbd.c \
hw/usb.c hw/usb-uhci.c hw/usb-ohci.c hw/usb-ehci.c \ hw/usb.c hw/usb-uhci.c hw/usb-ohci.c hw/usb-ehci.c \
hw/usb-hid.c hw/usb-msc.c hw/usb-uas.c \ hw/usb-hid.c hw/usb-msc.c hw/usb-uas.c \
hw/blockcmd.c hw/floppy.c hw/ata.c hw/ramdisk.c \ hw/blockcmd.c hw/floppy.c hw/ata.c hw/ramdisk.c \
hw/lsi-scsi.c hw/esp-scsi.c hw/megasas.c hw/mpt-scsi.c \ hw/lsi-scsi.c hw/esp-scsi.c hw/megasas.c hw/mpt-scsi.c hw/ncr710-scsi.c\
parisc/timer.c sha256.c sha512.c parisc/timer.c sha256.c sha512.c
# x86.c fw/smp.c fw/mttr.c malloc.c # x86.c fw/smp.c fw/mttr.c malloc.c
SRC32FLAT=$(SRCBOTH) post.c e820map.c romfile.c optionroms.c \ SRC32FLAT=$(SRCBOTH) post.c e820map.c romfile.c optionroms.c \

View File

@ -222,6 +222,12 @@ menu "Hardware support"
default y default y
help help
Support boot from AMD PCscsi storage. Support boot from AMD PCscsi storage.
config NCR710_SCSI
depends on DRIVES && QEMU_HARDWARE
bool "NCR 53c710 SCSI controllers"
default y
help
Support boot from NCR 53c710 SCSI controllers on PA-RISC systems (LASI, DINO).
config LSI_SCSI config LSI_SCSI
depends on DRIVES && QEMU_HARDWARE depends on DRIVES && QEMU_HARDWARE
bool "lsi53c895a scsi controllers" bool "lsi53c895a scsi controllers"

View File

@ -11,6 +11,7 @@
#include "hw/ahci.h" // process_ahci_op #include "hw/ahci.h" // process_ahci_op
#include "hw/esp-scsi.h" // esp_scsi_process_op #include "hw/esp-scsi.h" // esp_scsi_process_op
#include "hw/lsi-scsi.h" // lsi_scsi_process_op #include "hw/lsi-scsi.h" // lsi_scsi_process_op
#include "hw/ncr710-scsi.h" // ncr710_scsi_process_op
#include "hw/megasas.h" // megasas_process_op #include "hw/megasas.h" // megasas_process_op
#include "hw/mpt-scsi.h" // mpt_scsi_process_op #include "hw/mpt-scsi.h" // mpt_scsi_process_op
#include "hw/pci.h" // pci_bdf_to_bus #include "hw/pci.h" // pci_bdf_to_bus
@ -519,6 +520,7 @@ block_setup(void)
megasas_setup(); megasas_setup();
pvscsi_setup(); pvscsi_setup();
mpt_scsi_setup(); mpt_scsi_setup();
ncr710_scsi_setup();
nvme_setup(); nvme_setup();
} }
@ -562,6 +564,8 @@ process_op_both(struct disk_op_s *op)
return megasas_process_op(op); return megasas_process_op(op);
case DTYPE_MPT_SCSI: case DTYPE_MPT_SCSI:
return mpt_scsi_process_op(op); return mpt_scsi_process_op(op);
case DTYPE_NCR710_SCSI:
return ncr710_scsi_process_op(op);
default: default:
if (!MODESEGMENT) if (!MODESEGMENT)
return DISK_RET_EPARAM; return DISK_RET_EPARAM;

View File

@ -84,6 +84,7 @@ struct drive_s {
#define DTYPE_MEGASAS 0x82 #define DTYPE_MEGASAS 0x82
#define DTYPE_PVSCSI 0x83 #define DTYPE_PVSCSI 0x83
#define DTYPE_MPT_SCSI 0x84 #define DTYPE_MPT_SCSI 0x84
#define DTYPE_NCR710_SCSI 0x85
#define DTYPE_SDCARD 0x90 #define DTYPE_SDCARD 0x90
#define DTYPE_NVME 0x91 #define DTYPE_NVME 0x91