diff options
| author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2024-12-22 12:59:43 +0000 |
|---|---|---|
| committer | Thomas Huth <huth@tuxfamily.org> | 2024-12-29 07:13:47 +0100 |
| commit | 1441b8f922579c470e11dd9922122025f1c8cab2 (patch) | |
| tree | 76bce929ad9477ceeefb8eb2998bc74e3fc90683 /hw/m68k/next-cube.c | |
| parent | d39b0e6832d9b9914e322306628aee341cd26055 (diff) | |
| download | focaccia-qemu-1441b8f922579c470e11dd9922122025f1c8cab2.tar.gz focaccia-qemu-1441b8f922579c470e11dd9922122025f1c8cab2.zip | |
next-cube: move next_scsi_init() to next_pc_realize()
This reflects that the SCSI interface exists within the NeXT Peripheral Controller (PC). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Thomas Huth <huth@tuxfamily.org> Message-ID: <20241222130012.1013374-5-mark.cave-ayland@ilande.co.uk> Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'hw/m68k/next-cube.c')
| -rw-r--r-- | hw/m68k/next-cube.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c index 31c0532aff..97dea45b13 100644 --- a/hw/m68k/next-cube.c +++ b/hw/m68k/next-cube.c @@ -908,6 +908,9 @@ static void next_pc_realize(DeviceState *dev, Error **errp) "next.scr", 0x20000); sysbus_init_mmio(sbd, &s->mmiomem); sysbus_init_mmio(sbd, &s->scrmem); + + /* SCSI */ + next_scsi_init(dev); } /* @@ -1050,8 +1053,6 @@ static void next_cube_init(MachineState *machine) /* TODO: */ /* Network */ - /* SCSI */ - next_scsi_init(pcdev); /* DMA */ memory_region_init_io(&m->dmamem, NULL, &next_dma_ops, machine, |