qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/1] net: Add SunGEM device emulation as found o


From: David Gibson
Subject: Re: [Qemu-devel] [PATCH 1/1] net: Add SunGEM device emulation as found on Apple UniNorth
Date: Wed, 6 Sep 2017 16:56:58 +1000
User-agent: Mutt/1.8.3 (2017-05-23)

On Wed, Sep 06, 2017 at 06:21:08AM +0100, Mark Cave-Ayland wrote:
> On 06/09/17 04:16, David Gibson wrote:
> > On Tue, Sep 05, 2017 at 11:13:43AM +1000, David Gibson wrote:
> >> On Mon, Sep 04, 2017 at 07:39:38PM +0100, Mark Cave-Ayland wrote:
> >>> From: Benjamin Herrenschmidt <address@hidden>
> >>>
> >>> This adds a simplistic emulation of the Sun GEM ethernet controller
> >>> found in Apple ASICs.
> >>>
> >>> Currently we only support the Apple UniNorth 1.x variant, but the
> >>> other Apple or Sun variants should mostly be a matter of adding
> >>> PCI IDs options.
> >>>
> >>> We have a very primitive emulation of a single Broadcom 5201 PHY
> >>> which is supported by the MacOS driver.
> >>>
> >>> This model brings out-of-the-box networking to MacOS 9, and all
> >>> versions of OS X I tried with the mac99 platform.
> >>>
> >>> Further improvements from Mark:
> >>> - Remove sungem.h file, moving constants into sungem.c as required
> >>> - Switch to using tracepoints for debugging
> >>> - Split register blocks into separate memory regions
> >>> - Use arrays in SunGEMState to hold register values
> >>> - Add state-saving support
> >>>
> >>> Signed-off-by: Benjamin Herrenschmidt <address@hidden>
> >>> Signed-off-by: Mark Cave-Ayland <address@hidden>
> >>
> >> Applied to ppc-for-2.11.
> > 
> > Until I discovered that it breaks compile with
> > --enable-trace-backend=ust.   So I've removed it again.
> 
> Oh that's interesting. I've had --enable-trace-backend=simple as part of
> my default build for a long while now, so I'm quite surprised that the
> trace-events are backend sensitive.
> 
> Any clue as to what the error might be before I go and start installing
> the relevant libraries?

Not so far.  I'd investigate myself, but I'm actually really sick
right now.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


reply via email to

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