aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCormac O'Brien <i.am.cormac.obrien@gmail.com>2015-06-17 17:04:11 -0500
committerAlexander Graf <agraf@suse.de>2015-07-07 17:44:49 +0200
commit5c464f66f5696724c892339de242fac41f4d57a6 (patch)
treedd83c089c1eb19cb722da439e141b46f2214ccce
parent7d6b1daedd00b35e50ce87ea835f662b36a23160 (diff)
macio: remove nonexistent interrupt on pin 1
The current macio implementation declares an interrupt that doesn't appear to exist in the hardware or any other emulator implementation. OpenBIOS detects this interrupt and generates an 'interrupts' property in the macio device tree entry. Mac OS 9 halts boot when it detects this interrupt, so it has been removed to permit further progress in the boot process. Signed-off-by: Cormac O'Brien <i.am.cormac.obrien@gmail.com> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--hw/misc/macio/macio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c
index e9037b0c39..e3c0242d41 100644
--- a/hw/misc/macio/macio.c
+++ b/hw/misc/macio/macio.c
@@ -132,8 +132,6 @@ static void macio_common_realize(PCIDevice *d, Error **errp)
SysBusDevice *sysbus_dev;
Error *err = NULL;
- d->config[0x3d] = 0x01; // interrupt on pin 1
-
object_property_set_bool(OBJECT(&s->cuda), true, "realized", &err);
if (err) {
error_propagate(errp, err);