macio: remove nonexistent interrupt on pin 1
PATCH v2 1/1 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.
--- hw/misc/macio/macio.c | 2 -- 1 file changed, 2 deletions(-)
hw/misc/macio/macio.c +0 -2
@@ -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;
Signature · 1 line
2.4.3
Quoted 18 lines · Cormac O'Brien
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 <[email protected]>--- hw/misc/macio/macio.c | 2 -- 1 file changed, 2 deletions(-)hw/misc/macio/macio.c +0
-0
hw/misc/macio/macio.c static int macio_common_initfn(PCIDevice *d) · line 137
Quoted 8 lines
hw/misc/macio/macio.c +0
-2@@ -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;
ATB,
Mark.
Quoted 7 lines · Cormac O'Brien
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 <[email protected]>
Which tree is this against? It doesn't apply as is to current ppc-next.
Either way, I've fixed it up and applied it. Thanks!
Alex