Commit e94bbefe59c0463f5187c6adf9d6d08562112dad

Authored by aurel32
1 parent 3adda04c

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 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
Showing 1 changed file with 1 additions and 1 deletions
hw/e1000.c
@@ -50,7 +50,7 @@ static int debugflags = DBGBIT(TXERR) | DBGBIT(GENERAL); @@ -50,7 +50,7 @@ static int debugflags = DBGBIT(TXERR) | DBGBIT(GENERAL);
50 #endif 50 #endif
51 51
52 #define IOPORT_SIZE 0x40 52 #define IOPORT_SIZE 0x40
53 -#define PNPMMIO_SIZE 0x60000 53 +#define PNPMMIO_SIZE 0x20000
54 54
55 /* 55 /*
56 * HW models: 56 * HW models: