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

RE: [Xen-devel] [PATCH][IOEMU] e1000 emulation

>   The attached patch adds e1000 emulation to Xen.  This is a direct
>port of the e1000 driver currently in Qemu CVS with extremely minimal
>changes (as shown below).  This is useful for Xen as new OSes may not
>support the old 100Mbps NICs we currently support (especially on
>non-x86).  Drivers for e1000 should be more readily available.

        Per Intel 82540EM Software Developer's Manual pp. 211,
        the mmio size is 0x20000, or address overlapping occurs
        and causes the second card to fail, which happened to me


--- tools/ioemu/hw/e1000.c.orig 2008-02-26 10:55:00.113124000 -0800
+++ tools/ioemu/hw/e1000.c      2008-02-26 10:55:00.111124000 -0800
@@ -48,7 +48,7 @@ static int debugflags = DBGBIT(TXERR) |

 #define IOPORT_SIZE       0x40
-#define PNPMMIO_SIZE      0x60000
+#define PNPMMIO_SIZE      0x20000

  * HW models:

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.