qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/3] dp8393x update


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH 0/3] dp8393x update
Date: Fri, 02 Jan 2015 02:34:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Hi Hervé,

Le 01/01/2015 22:01, Hervé Poussineau a écrit :
> 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?

I don't know if it's a good idea to use AddressSpace into device. For
me, AddressSpace must stay in the machine definition. SysBus is there
for that. But it seems to be a good way to do DMA. I have to think about
that...

As I use the dp8393x with a quadra 800 implementation, I don't want to
work on rc4030 part, and I need the PROM and the register offset (but as
you said it is easy to add).

Except for this particular patch I like all the other dp8393x patches.

What I propose is to steal these patches (except the QOM one) and
include them in my series with the modifications done according comments
from Andreas (and perhaps something about the address space, i.e your
patch...). Your comments will be welcome.

Regards,
Laurent





Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]