summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Cave-Ayland2018-05-03 22:24:41 +0200
committerDavid Gibson2018-05-04 07:00:37 +0200
commit0fcd2a814aa331f87fd099171ae03a61311bdfee (patch)
treeb260f0ea455b1b9821a79ccf643b69fde2ec0690 /include
parentmac_newworld: remove pics IRQ array and wire up macio to OpenPIC directly (diff)
downloadqemu-0fcd2a814aa331f87fd099171ae03a61311bdfee.tar.gz
qemu-0fcd2a814aa331f87fd099171ae03a61311bdfee.tar.xz
qemu-0fcd2a814aa331f87fd099171ae03a61311bdfee.zip
mac_newworld: move wiring of macio IRQs to macio_newworld_realize()
Since the macio device has a link to the PIC device, we can now wire up the IRQs directly via qdev GPIOs rather than having to use an intermediate array. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/macio/macio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/misc/macio/macio.h b/include/hw/misc/macio/macio.h
index 64a2584a77..838eaf1db0 100644
--- a/include/hw/misc/macio/macio.h
+++ b/include/hw/misc/macio/macio.h
@@ -71,7 +71,6 @@ typedef struct NewWorldMacIOState {
/*< public >*/
OpenPICState *pic;
- qemu_irq irqs[7];
MACIOIDEState ide[2];
} NewWorldMacIOState;