Hi, This patchset improves dp8393x network card emulation to current QEMU standards, mostly decouples it from MIPS rc4030 chipset emulation, and add PROM and load/save functionalities. Only required cleanup has been done on the rc4030 side.
Patchset has been tested on MIPS Jazz emulation and on (yet unpublished) m68k Quadra 800 emulation. I expect those patches go through a MIPS tree, as rc4030 and dp8393x are currently only used in MIPS Jazz emulation. Hervé Poussineau (8): rc4030: create custom DMA address space rc4030: use AddressSpace and address_space_rw in users net/dp8393x: always calculate proper checksums net/dp8393x: do not use old_mmio accesses net/dp8393x: use dp8393x_ prefix for all functions net/dp8393x: QOM'ify net/dp8393x: add PROM to store MAC address net/dp8393x: add load/save support hw/dma/rc4030.c | 166 ++++++++++++++++------- hw/mips/mips_jazz.c | 17 ++- hw/net/dp8393x.c | 343 ++++++++++++++++++++++++------------------------ include/hw/mips/mips.h | 13 +- 4 files changed, 305 insertions(+), 234 deletions(-) -- 1.7.10.4