ia64/xen-unstable

changeset 17137:2b940e46857c

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@oracle.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 27 13:16:02 2008 +0000 (2008-02-27)
parents 6951fb517f5b
children b58180cf8ab8
files tools/ioemu/hw/e1000.c
line diff
     1.1 --- a/tools/ioemu/hw/e1000.c	Wed Feb 27 13:11:33 2008 +0000
     1.2 +++ b/tools/ioemu/hw/e1000.c	Wed Feb 27 13:16:02 2008 +0000
     1.3 @@ -48,7 +48,7 @@ static int debugflags = DBGBIT(TXERR) | 
     1.4  #endif
     1.5  
     1.6  #define IOPORT_SIZE       0x40
     1.7 -#define PNPMMIO_SIZE      0x60000
     1.8 +#define PNPMMIO_SIZE      0x20000
     1.9  
    1.10  /*
    1.11   * HW models: