Re: [Qemu-devel] [PATCH 04/15] sun4u: remove pci_ebus_init() function

2017-11-19 Thread Philippe Mathieu-Daudé
On 11/17/2017 10:42 AM, Mark Cave-Ayland wrote: > 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

Re: [Qemu-devel] [PATCH 04/15] sun4u: remove pci_ebus_init() function

2017-11-17 Thread Artyom Tarasenko
On Fri, Nov 17, 2017 at 2:42 PM, Mark Cave-Ayland wrote: > 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 looki

[Qemu-devel] [PATCH 04/15] sun4u: remove pci_ebus_init() function

2017-11-17 Thread Mark Cave-Ayland
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 Cav