On 09/18/2011 10:56 AM, Avi Kivity wrote:
On 09/15/2011 11:52 PM, Anthony Liguori wrote:
Also, NE2000 methods have to call ISA_NE2000 and PCI_NE2000 methods, yes?


I don't think so. The NE2k would export an IRQ and the ISA_NE2K and PCI_NE2k would have to route that IRQ. But I think that's the extent of the communication in that direction.

Am I missing something?

I guess for simple devices it's unlikely that anything further is needed.

The most complicated device with a dual interface I can think of is vga, it needs to register memory regions dynamically. But even that can be done by registering a container on startup, and doing the dynamic stuff within the container.


And in fact this exact problem has just hit us with the vga portio_list conversion. And note we can't just use a container, because isa_register_portio_list() does more than just register the memory regions.

(problems are in memory/queue, not upstream).

--
error compiling committee.c: too many arguments to function


Reply via email to