Re: [Qemu-devel] smc91x irq patch

2006-07-19 Thread Paul Brook
> > There's no point passing round both a pic callback and an object when we > > can embed the callback in the object. > > I don't think that adding a callback is bad. It can be useful to use the > device with another CPU or IRQ controller for example. It means all the device emulation code has go

Re: [Qemu-devel] smc91x irq patch

2006-07-19 Thread Fabrice Bellard
Paul Brook wrote: On Tuesday 18 July 2006 18:03, Thorsten Zitterell wrote: I am working on a Gumstix system [1] emulation for QEMU which is based on a Intel XScale processor. The board has an expansion card for network support which is a smc91x compatible NIC. However, the irq line is not direc

Re: [Qemu-devel] smc91x irq patch

2006-07-18 Thread Paul Brook
On Tuesday 18 July 2006 18:03, Thorsten Zitterell wrote: > I am working on a Gumstix system [1] emulation for QEMU which is based > on a Intel XScale processor. The board has an expansion card for network > support which is a smc91x compatible NIC. However, the irq line is not > directly connected

[Qemu-devel] smc91x irq patch

2006-07-18 Thread Thorsten Zitterell
Hi, I am working on a Gumstix system [1] emulation for QEMU which is based on a Intel XScale processor. The board has an expansion card for network support which is a smc91x compatible NIC. However, the irq line is not directly connected to the processor's interrupt controller but to an GPIO which