From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dor Laor Subject: [PATCH] Change the e1000 mmio addr space according to spec Date: Thu, 28 Feb 2008 12:13:30 +0200 Message-ID: <1204193610.7013.15.camel@localhost.localdomain> Reply-To: dor.laor@qumranet.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel , qemu-devel Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org repository: /home/build/src/kvm branch: trunk commit cd5edbab7d647b81cbbf60d530068f2916658753 Author: Dor Laor 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 tina..yang@oracle.com Signed-off-by: Dor Laor diff --git a/qemu/hw/e1000.c b/qemu/hw/e1000.c index d573f70..e091958 100644 --- a/qemu/hw/e1000.c +++ b/qemu/hw/e1000.c @@ -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/