qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] macio: remove nonexistent interrupt on pin 1


From: Cormac O'Brien
Subject: [Qemu-devel] [PATCH] macio: remove nonexistent interrupt on pin 1
Date: Mon, 8 Jun 2015 18:23:52 -0500

The current macio device implementation declares an interrupt that doesn't
seem to exist in the actual hardware or any other emulators. Mac OS 9 counts
the presence of this interrupt as a fatal error and progresses further without
it.

Signed-off-by: Cormac O'Brien <address@hidden>

---
 hw/misc/macio/macio.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c
index 063ad80..306c95e 100644
--- a/hw/misc/macio/macio.c
+++ b/hw/misc/macio/macio.c
@@ -132,8 +132,6 @@ static int macio_common_initfn(PCIDevice *d)
     SysBusDevice *sysbus_dev;
     int ret;
 
-    d->config[0x3d] = 0x01; // interrupt on pin 1
-
     ret = qdev_init(DEVICE(&s->cuda));
     if (ret < 0) {
         return ret;
-- 
2.4.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]