From: Doug Evans via <qemu-devel@nongnu.org>
To: qemu-devel@nongnu.org
Cc: Jason Wang <jasowang@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>,
Hao Wu <wuhaotsh@google.com>,
Avi Fishman <avi.fishman@nuvoton.com>,
Doug Evans <dje@google.com>
Subject: [PATCH v4 0/3] Add npcm7xx emc model
Date: Fri, 12 Feb 2021 16:25:17 -0800 [thread overview]
Message-ID: <20210213002520.1374134-1-dje@google.com> (raw)
This is a 10/100 ethernet device that has several features.
Only the ones needed by the Linux driver have been implemented.
See npcm7xx_emc.c for a list of unimplemented features.
Doug Evans (3):
hw/net: Add npcm7xx emc model
hw/arm: Add npcm7xx emc model
tests/qtests: Add npcm7xx emc model test
docs/system/arm/nuvoton.rst | 3 +-
hw/arm/npcm7xx.c | 50 +-
hw/net/meson.build | 1 +
hw/net/npcm7xx_emc.c | 857 ++++++++++++++++++++++++++++++++
hw/net/trace-events | 17 +
include/hw/arm/npcm7xx.h | 2 +
include/hw/net/npcm7xx_emc.h | 286 +++++++++++
tests/qtest/meson.build | 1 +
tests/qtest/npcm7xx_emc-test.c | 862 +++++++++++++++++++++++++++++++++
9 files changed, 2076 insertions(+), 3 deletions(-)
create mode 100644 hw/net/npcm7xx_emc.c
create mode 100644 include/hw/net/npcm7xx_emc.h
create mode 100644 tests/qtest/npcm7xx_emc-test.c
--
2.30.0.478.g8a0d178c01-goog
Differences from v3:
1/3 hw/net: Add npcm7xx emc model
- no change
2/3 hw/arm: Add npcm7xx emc model
- no change
3/3 tests/qtests: Add npcm7xx emc model test
- handle big endian hosts, tested on sparc64
Differences from v2:
1/3 hw/net: Add npcm7xx emc model
- move call to qemu_set_irq
- remove use of C99 mixed decls/statements
- add use of g_autofree
2/3 hw/arm: Add npcm7xx emc model
- none, patch ok as is
3/3 tests/qtests: Add npcm7xx emc model test
- remove use of C99 mixed decls/statements
next reply other threads:[~2021-02-13 0:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-13 0:25 Doug Evans via [this message]
2021-02-13 0:25 ` [PATCH v4 1/3] hw/net: Add npcm7xx emc model Doug Evans via
2021-02-13 0:25 ` [PATCH v4 2/3] hw/arm: " Doug Evans via
2021-02-13 0:25 ` [PATCH v4 3/3] tests/qtests: Add npcm7xx emc model test Doug Evans via
2021-02-16 14:28 ` [PATCH v4 0/3] Add npcm7xx emc model Peter Maydell
2021-02-17 11:01 ` Peter Maydell
2021-02-18 21:46 ` Doug Evans
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=20210213002520.1374134-1-dje@google.com \
--to=qemu-devel@nongnu.org \
--cc=avi.fishman@nuvoton.com \
--cc=dje@google.com \
--cc=jasowang@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=wuhaotsh@google.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 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).