]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sparc64/sun4u.c
sun4u: remove pci_ebus_init() function
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 21 Dec 2017 07:32:57 +0000 (07:32 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 9 Jan 2018 21:31:31 +0000 (21:31 +0000)
commitc796eddaad58301611315ae3c16f3ef26ccf207a
treeb7516d1bdb987f08c90765603b070af213e0471a
parent8c40b8d9fb596cd1e9517d0176043c478bb8e7e2
sun4u: remove pci_ebus_init() function

This is initialisation that should really take place in the ebus realize
function. As part of this we also rework the ebus IRQ mapping so that
instead of having to pass in the array of pbm_irqs, we obtain a reference
to them by looking up the APB device during ebus realize.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/pci-host/apb.c
hw/sparc64/sun4u.c
include/hw/pci-host/apb.h