This patch series adds support for the EMAC Fast Ethernet controller
found on Allwinner SoCs to the Allwinner A10.
v2: Address Peter Crosthwaite's comments:
* Make phy address customizable through a property
* Call qemu_flush_queued_packets() when rx becomes possible
* Always create EMAC instance in SoC
* Use uint8 arrays for fifos
* Minor cleanups
Beniamino Galvani (2):
hw/net: add support for Allwinner EMAC Fast Ethernet controller
hw/arm/allwinner-a10: initialize EMAC
default-configs/arm-softmmu.mak | 1 +
hw/arm/allwinner-a10.c | 16 ++
hw/arm/cubieboard.c | 7 +
hw/net/Makefile.objs | 1 +
hw/net/allwinner_emac.c | 472 +++++++++++++++++++++++++++++++++++++++
include/hw/arm/allwinner-a10.h | 3 +
include/hw/net/allwinner_emac.h | 204 +++++++++++++++++
7 files changed, 704 insertions(+)
create mode 100644 hw/net/allwinner_emac.c
create mode 100644 include/hw/net/allwinner_emac.h
--
1.7.10.4