Hi,

On Wed, 26 Jul 2006, ZIGLIO, Frediano, VF-IT wrote:

> Just to make it happy I wrote this patch that add a rtl8139too card. It 
> simply change pci revision id but use rtl8139 code.

Nice.

> -    s = &d->rtl8139;
> -
>      /* I/O handler for memory-mapped I/O */
>      s->rtl8139_mmio_io_addr =
>      cpu_register_io_memory(0, rtl8139_mmio_read, rtl8139_mmio_write, s);

Are you sure it is the right thing to do? rtl8139_mmio_{read,write} still 
expect &d->rtl8139 as opaque, right?

Ciao,
Dscho



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to