summary refs log tree commit diff stats
path: root/include/hw/misc
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2018-03-06 22:01:59 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2018-04-27 18:05:22 +1000
commit20d2514ad88057b8ef400cc4f1484d9160a9781a (patch)
treee73ce81c09f9b0fc1e46db5c269917d405de2496 /include/hw/misc
parentab1244b53d8781e1f2c3dcbdd890afe1b817ca02 (diff)
downloadfocaccia-qemu-20d2514ad88057b8ef400cc4f1484d9160a9781a.tar.gz
focaccia-qemu-20d2514ad88057b8ef400cc4f1484d9160a9781a.zip
mac_oldworld: move wiring of macio IRQs to macio_oldworld_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/hw/misc')
-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 4528282b36..64a2584a77 100644
--- a/include/hw/misc/macio/macio.h
+++ b/include/hw/misc/macio/macio.h
@@ -56,7 +56,6 @@ typedef struct OldWorldMacIOState {
     /*< public >*/
 
     HeathrowState *pic;
-    qemu_irq irqs[7];
 
     MacIONVRAMState nvram;
     MACIOIDEState ide[2];