summaryrefslogtreecommitdiffstats
path: root/hw/m68k/q800.c
diff options
context:
space:
mode:
authorMark Cave-Ayland2021-03-04 23:10:23 +0100
committerMark Cave-Ayland2021-03-07 11:39:05 +0100
commit84fbefedfecafba2b339d17c9133225467b90c2e (patch)
tree241568248c208ebae8ce59000f3b24ea0cbadc6d /hw/m68k/q800.c
parentesp: checkpatch fixes (diff)
downloadqemu-84fbefedfecafba2b339d17c9133225467b90c2e.tar.gz
qemu-84fbefedfecafba2b339d17c9133225467b90c2e.tar.xz
qemu-84fbefedfecafba2b339d17c9133225467b90c2e.zip
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/m68k/q800.c')
-rw-r--r--hw/m68k/q800.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/m68k/q800.c b/hw/m68k/q800.c
index d4eca46767..4d2e866eec 100644
--- a/hw/m68k/q800.c
+++ b/hw/m68k/q800.c
@@ -350,8 +350,8 @@ static void q800_init(MachineState *machine)
/* SCSI */
- 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 = NULL;
esp->dma_memory_write = NULL;