qemu-devel
[Top][All Lists]
Advanced

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

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


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] macio: remove nonexistent interrupt on pin 1
Date: Tue, 09 Jun 2015 09:45:50 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0


On 09.06.15 01:23, Cormac O'Brien wrote:
> 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.

This is only half of the problem unfortunately :). The reason the
existence of an interrupt pin is a problem is that OpenBIOS
automatically generates an interrupt property in the device tree for the
macio device.

Please mention this in the patch description as well. Also, please make
sure to CC address@hidden on v2 :).


Thanks!

Alex

> 
> 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;
> 



reply via email to

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