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

[Xen-changelog] [xen-unstable] ioemu: Fix e1000 mmio range size.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204118162 0
# Node ID 2b940e46857c0ddf5ef1e255e201a42caf310df6
# Parent  6951fb517f5b29b36b80a9d0c0772190d288249c
ioemu: Fix e1000 mmio range size.

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.

From: Tina Yang <tina.yang@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/ioemu/hw/e1000.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6951fb517f5b -r 2b940e46857c tools/ioemu/hw/e1000.c
--- a/tools/ioemu/hw/e1000.c    Wed Feb 27 13:11:33 2008 +0000
+++ b/tools/ioemu/hw/e1000.c    Wed Feb 27 13:16:02 2008 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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