Hi Laurent,

Le 29/12/2014 01:39, Laurent Vivier a écrit :
This is a series of patches I wrote to use dp8393x (SONIC) with
Quadra 800 emulation. I think it is interesting to share them with the
mainline.

Qdev'ifying allows to remove the annoying warning:
"requested NIC (anonymous, model dp83932) was not created
  (not supported by this machine?)"

[PATCH 1/3] dp8393x: add registers offset
[PATCH 2/3] dp8393x: add PROM to store MAC address
[PATCH 3/3] qdev'ify dp8393x


I also had some patches to QOM'ify dp8393x.
Those are available at 
http://repo.or.cz/w/qemu/hpoussin.git/shortlog/refs/heads/sonic

Main differences are:
- dp8393x uses an AddressSpace, instead of an offset in a MemoryRegion in yours
- no PROM support, but should be easy to add
- rc4030 (MIPS Jazz chipset) also converted to QOM (but that was not the goal 
of your patch series)

Minor points are:
- have load/save support
- all functions have the same dp8393x_ prefix
- old_mmio-style functions are not used anymore

What do you think of them?

Regards,

Hervé

Reply via email to