All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tina Yang <tina.yang@oracle.com>
To: alex.williamson@hp.com
Cc: xen-devel@lists.xensource.com
Subject: RE: [PATCH][IOEMU] e1000 emulation
Date: Tue, 26 Feb 2008 14:50:41 -0800	[thread overview]
Message-ID: <47C497C1.7030405@oracle.com> (raw)


>   The attached patch adds e1000 emulation to Xen.  This is a direct
>port of the e1000 driver currently in Qemu CVS with extremely minimal
>changes (as shown below).  This is useful for Xen as new OSes may not
>support the old 100Mbps NICs we currently support (especially on
>non-x86).  Drivers for e1000 should be more readily available.

	
	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.

	Tina


--- tools/ioemu/hw/e1000.c.orig 2008-02-26 10:55:00.113124000 -0800
+++ tools/ioemu/hw/e1000.c      2008-02-26 10:55:00.111124000 -0800
@@ -48,7 +48,7 @@ static int debugflags = DBGBIT(TXERR) |
 #endif

 #define IOPORT_SIZE       0x40
-#define PNPMMIO_SIZE      0x60000
+#define PNPMMIO_SIZE      0x20000

 /*
  * HW models:

             reply	other threads:[~2008-02-26 22:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26 22:50 Tina Yang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-25 23:23 [PATCH][IOEMU] e1000 emulation Alex Williamson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47C497C1.7030405@oracle.com \
    --to=tina.yang@oracle.com \
    --cc=alex.williamson@hp.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.