Skip to contentSkip to conversation

Change the e1000 mmio addr space according to spec

PATCH New Dor Laor 1 participant 1 message Feb 28, 2008 KVM

lore
Share & tools
lore

Dor Laor

author
#0 lore raw

PATCH 1/1 Change the e1000 mmio addr space according to spec

repository: /home/build/src/kvm
branch: trunk
commit cd5edbab7d647b81cbbf60d530068f2916658753

Author: Dor Laor <[email protected]>
Date:   Thu Feb 28 11:01:41 2008 +0200

Change the e1000 mmio addr space according to spec.

According to the Intel 82540EM manual, the mmio space is 128k size.
Copied from Xen list and noted by [email protected]

qemu/hw/e1000.c +1 -1
index d573f70..e091958 100644
@@ -52,7 +52,7 @@ static int debugflags = DBGBIT(TXERR) | DBGBIT(GENERAL);
 #endif
 
 #define IOPORT_SIZE       0x40
-#define PNPMMIO_SIZE      0x60000
+#define PNPMMIO_SIZE      0x20000
 
 /*
  * HW models:

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/