qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Sebastian Herbszt" <herbszt@gmx.de>
To: Matthew Iselin <matthew@theiselins.net>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [RFC] [PATCH] 3C90X Emulation
Date: Sun, 19 Jul 2009 21:10:54 +0200	[thread overview]
Message-ID: <99C86C65A77F471C935BFD9DB00AC5F8@FSCPC> (raw)
In-Reply-To: <1247320357-7928-1-git-send-email-matthew@theiselins.net>

Matthew Iselin wrote:
> This patch adds a basic 3C90X emulation to QEMU.
> 
> I have tested this with Linux kernels 2.4 and 2.6 (DSL and Ubuntu), and
> Pedigree.
> 
> This has been ported from the PearPC 3C90X emulation, with significant
> modifications to enable it to work on 2.6 kernels.
> 
> Signed-off-by: Matthew Iselin <matthew@theiselins.net>
> ---
> Makefile.target |    1 +
> hw/3c90x.c      | 2421 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> hw/pci.c        |    2 +
> hw/pci_ids.h    |    3 +
> 4 files changed, 2427 insertions(+), 0 deletions(-)
> create mode 100644 hw/3c90x.c

  CC    i386-softmmu/3c90x.o
cc1: warnings being treated as errors
hw/3c90x.c: In function 'a3c90x_io_readx':
hw/3c90x.c:2028: warning: comparison is always true due to limited range of data type
hw/3c90x.c: In function 'a3c90x_io_writex':
hw/3c90x.c:2096: warning: comparison is always true due to limited range of data type
make[1]: *** [3c90x.o] Error 1
make: *** [subdir-i386-softmmu] Error 2

> diff --git a/hw/pci_ids.h b/hw/pci_ids.h
> index 3afe674..872cca8 100644
> --- a/hw/pci_ids.h
> +++ b/hw/pci_ids.h
> @@ -75,6 +75,9 @@
> #define PCI_VENDOR_ID_REALTEK            0x10ec
> #define PCI_DEVICE_ID_REALTEK_8139       0x8139
> 
> +#define PCI_VENDOR_ID_3COM               0x10b7
> +#define PCI_DEVICE_ID_3COM_3C90X         0x9200
> +
> #define PCI_VENDOR_ID_XILINX             0x10ee
> 
> #define PCI_VENDOR_ID_MARVELL            0x11ab

The file content is supposed to be sorted:

/* Vendors and devices.  Sort key: vendor first, device next. */

- Sebastian

      parent reply	other threads:[~2009-07-19 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-11 13:52 [Qemu-devel] [RFC] [PATCH] 3C90X Emulation Matthew Iselin
2009-07-11 14:10 ` Anthony Liguori
2009-07-19 19:10 ` Sebastian Herbszt [this message]

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=99C86C65A77F471C935BFD9DB00AC5F8@FSCPC \
    --to=herbszt@gmx.de \
    --cc=matthew@theiselins.net \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).