qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add npcm7xx emc model
@ 2021-02-09  1:55 Doug Evans via
  2021-02-09  1:55 ` [PATCH v3 1/3] hw/net: " Doug Evans via
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Doug Evans via @ 2021-02-09  1:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jason Wang, Peter Maydell, Hao Wu, Avi Fishman, Doug Evans

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 | 812 +++++++++++++++++++++++++++++++
 9 files changed, 2026 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 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-13  0:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-09  1:55 [PATCH v3 0/3] Add npcm7xx emc model Doug Evans via
2021-02-09  1:55 ` [PATCH v3 1/3] hw/net: " Doug Evans via
2021-02-09  1:55 ` [PATCH v3 2/3] hw/arm: " Doug Evans via
2021-02-09  1:55 ` [PATCH v3 3/3] tests/qtests: Add npcm7xx emc model test Doug Evans via
2021-02-11 11:34 ` [PATCH v3 0/3] Add npcm7xx emc model Peter Maydell
2021-02-11 19:47   ` Peter Maydell
2021-02-13  0:33     ` Doug Evans

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).