]> git.proxmox.com Git - qemu.git/commit
prep: qdev'ify Raven host bridge (SysBus)
authorAndreas Färber <andreas.faerber@web.de>
Tue, 3 Jan 2012 01:42:46 +0000 (02:42 +0100)
committerAndreas Färber <andreas.faerber@web.de>
Thu, 19 Jan 2012 23:27:12 +0000 (00:27 +0100)
commit8ca8c7bce027d0f4aaa8ca108ebae37021361b98
treeacdb23f34691db3411c04539598ce5358b88fb93
parent7e5610ff72b0d12feb24d1e973e4be303f422eb6
prep: qdev'ify Raven host bridge (SysBus)

Drop pci_prep_init() in favor of extended device state. Inspired by
patches from Hervé and Alex.

Assign the 4 IRQs from the board after device instantiation. This moves
the knowledge out of prep_pci and allows for future machines with
different IRQ wiring (IBM 40P). Suggested by Alex.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Reviewed-by: Alexander Graf <agraf@suse.de>
Cc: Hervé Poussineau <hpoussin@reactos.org>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
hw/ppc_prep.c
hw/prep_pci.c
hw/prep_pci.h [deleted file]