mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
94d5c79d32
commit
84fbefedfe
6 changed files with 13 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue