diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-03-04 22:10:23 +0000 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-03-07 10:39:05 +0000 |
commit | 84fbefedfecafba2b339d17c9133225467b90c2e (patch) | |
tree | 241568248c208ebae8ce59000f3b24ea0cbadc6d /hw/mips/jazz.c | |
parent | 94d5c79d32fd9f17bfa26ddfbe56dcfbcef20d2c (diff) | |
download | qemu-84fbefedfecafba2b339d17c9133225467b90c2e.zip qemu-84fbefedfecafba2b339d17c9133225467b90c2e.tar.gz qemu-84fbefedfecafba2b339d17c9133225467b90c2e.tar.bz2 |
esp: rename existing ESP QOM type to SYSBUS_ESP
The existing ESP QOM type currently represents a sysbus device with an embedded
ESP state. Rename the type to SYSBUS_ESP accordingly.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210304221103.6369-3-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/mips/jazz.c')
-rw-r--r-- | hw/mips/jazz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mips/jazz.c b/hw/mips/jazz.c index 83c8086..1a0888a 100644 --- a/hw/mips/jazz.c +++ b/hw/mips/jazz.c @@ -328,8 +328,8 @@ static void mips_jazz_init(MachineState *machine, } /* SCSI adapter */ - dev = qdev_new(TYPE_ESP); - sysbus_esp = ESP(dev); + dev = qdev_new(TYPE_SYSBUS_ESP); + sysbus_esp = SYSBUS_ESP(dev); esp = &sysbus_esp->esp; esp->dma_memory_read = rc4030_dma_read; esp->dma_memory_write = rc4030_dma_write; |