I know it will be difficult to get this patch in the mainstream version, but Alex already told me that some people here may have interest in eTSEC so I thought I could just send it so everyone can have a look.
It has been tested with vxWorks and vxWorks only. I have no idea if it will work with linux. It should be backwards compatible with TSEC. Have fun :) Fabien Chouteau (2): Add be16_to_cpupu function Add Enhanced Three-Speed Ethernet Controller (eTSEC) default-configs/ppc-softmmu.mak | 1 + hw/net/Makefile.objs | 1 + hw/net/etsec.c | 472 +++++++++++++++++++++++++++ hw/net/etsec.h | 169 ++++++++++ hw/net/etsec_miim.c | 146 +++++++++ hw/net/etsec_registers.c | 295 +++++++++++++++++ hw/net/etsec_registers.h | 302 ++++++++++++++++++ hw/net/etsec_rings.c | 673 +++++++++++++++++++++++++++++++++++++++ include/qemu/bswap.h | 5 + 9 files changed, 2064 insertions(+) create mode 100644 hw/net/etsec.c create mode 100644 hw/net/etsec.h create mode 100644 hw/net/etsec_miim.c create mode 100644 hw/net/etsec_registers.c create mode 100644 hw/net/etsec_registers.h create mode 100644 hw/net/etsec_rings.c -- 1.7.9.5