|
|
|
|
|
|
|
|
|
|
xen-devel
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
earlier.
Tina
--- 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) |
#endif
#define IOPORT_SIZE 0x40
-#define PNPMMIO_SIZE 0x60000
+#define PNPMMIO_SIZE 0x20000
/*
* HW models:
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|