Change the e1000 mmio addr space according to spec.
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Mar 2008 00:02:10 +0000 (00:02 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 10 Mar 2008 00:02:10 +0000 (00:02 +0000)
According to the Intel 82540EM manual, the mmio space is
128k size.
Copied from Xen list and noted by tina..yang@oracle.com

Signed-off-by: Dor Laor <dor.laor@qumranet.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4032 c046a42c-6fe2-441c-8c8c-71466251a162

hw/e1000.c

index 943f25f..1c77afc 100644 (file)
@@ -50,7 +50,7 @@ static int debugflags = DBGBIT(TXERR) | DBGBIT(GENERAL);
 #endif
 
 #define IOPORT_SIZE       0x40
-#define PNPMMIO_SIZE      0x60000
+#define PNPMMIO_SIZE      0x20000
 
 /*
  * HW models: