diff options
| author | Mark Cave-Ayland | 2018-05-03 22:24:41 +0200 |
|---|---|---|
| committer | David Gibson | 2018-05-04 07:00:37 +0200 |
| commit | 0fcd2a814aa331f87fd099171ae03a61311bdfee (patch) | |
| tree | b260f0ea455b1b9821a79ccf643b69fde2ec0690 /include/hw/misc/macio | |
| parent | mac_newworld: remove pics IRQ array and wire up macio to OpenPIC directly (diff) | |
| download | qemu-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/hw/misc/macio')
| -rw-r--r-- | include/hw/misc/macio/macio.h | 1 |
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; |
