Hi, The Aspeed SoCs AST2400 and AST2500 have two FTGMAC100 ethernet controllers. This serie proposes a model for this device and a way to customize the bit definitions which are slightly different from the Faraday definitions.
The last patch adds a fake NC-SI (Network Controller Sideband Interface) backend to pretend a NIC is being managed. Thanks, C. Cédric Le Goater (4): net: add FTGMAC100 support net/ftgmac100: add a 'aspeed' property aspeed: add a FTGMAC100 nic slirp: add a fake NC-SI backend default-configs/arm-softmmu.mak | 1 + hw/arm/aspeed_soc.c | 21 + hw/net/Makefile.objs | 1 + hw/net/ftgmac100.c | 866 ++++++++++++++++++++++++++++++++++++++++ include/hw/arm/aspeed_soc.h | 2 + include/hw/net/ftgmac100.h | 54 +++ include/net/eth.h | 1 + slirp/Makefile.objs | 2 +- slirp/ncsi-pkt.h | 418 +++++++++++++++++++ slirp/ncsi.c | 78 ++++ slirp/slirp.c | 4 + slirp/slirp.h | 3 + 12 files changed, 1450 insertions(+), 1 deletion(-) create mode 100644 hw/net/ftgmac100.c create mode 100644 include/hw/net/ftgmac100.h create mode 100644 slirp/ncsi-pkt.h create mode 100644 slirp/ncsi.c -- 2.7.4