WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: alex.williamson@xxxxxx
Subject: RE: [Xen-devel] [PATCH][IOEMU] e1000 emulation
From: Tina Yang <tina.yang@xxxxxxxxxx>
Date: Tue, 26 Feb 2008 14:50:41 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Feb 2008 14:51:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (X11/20070419)
>   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

<Prev in Thread] Current Thread [Next in Thread>