diff options
| author | Mark Cave-Ayland | 2017-10-14 14:22:21 +0200 |
|---|---|---|
| committer | Mark Cave-Ayland | 2017-10-31 18:25:35 +0100 |
| commit | 52d39e5b67f0d75544837cac9c7be21873ed649f (patch) | |
| tree | 12668623009ac63f183782d54a3d8795f3740a55 /device-hotplug.c | |
| parent | sparc32_dma: rename SPARC32_DMA type to SPARC32_DMA_DEVICE (diff) | |
| download | qemu-52d39e5b67f0d75544837cac9c7be21873ed649f.tar.gz qemu-52d39e5b67f0d75544837cac9c7be21873ed649f.tar.xz qemu-52d39e5b67f0d75544837cac9c7be21873ed649f.zip | |
sparc32_dma: split esp and le into separate DMA devices
Due to slight differences in behaviour accessing the registers for the
esp and le devices, create two separate SPARC32_DMA_DEVICE types and
update the sun4m machine to use.
Note that by using different device types we already know the size of
the register block and the value of is_ledma at init time, allowing us to
drop the SPARC32_DMA_DEVICE realize function and the is_ledma device
property.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'device-hotplug.c')
0 files changed, 0 insertions, 0 deletions
