mbox series

[v5,0/3] Add npcm7xx emc model

Message ID 20210218212453.831406-1-dje@google.com (mailing list archive)
Headers show
Series Add npcm7xx emc model | expand

Message

Doug Evans Feb. 18, 2021, 9:24 p.m. UTC
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        |   3 +-
 tests/qtest/npcm7xx_emc-test.c | 862 +++++++++++++++++++++++++++++++++
 9 files changed, 2077 insertions(+), 4 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

Comments

Doug Evans March 5, 2021, 1:09 a.m. UTC | #1
Ping.

On Thu, Feb 18, 2021 at 1:24 PM Doug Evans <dje@google.com> wrote:

> 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        |   3 +-
>  tests/qtest/npcm7xx_emc-test.c | 862 +++++++++++++++++++++++++++++++++
>  9 files changed, 2077 insertions(+), 4 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.617.g56c4b15f3c-goog
>
> Differences from v4:
>
> 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 --disable-slirp
>
> 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
>
Peter Maydell March 5, 2021, 11:24 a.m. UTC | #2
On Thu, 18 Feb 2021 at 21:24, Doug Evans <dje@google.com> wrote:
>
> 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



Applied to target-arm.next, thanks.

-- PMM