qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Let ESP SCSI adapter to be usable outside sun4m


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Let ESP SCSI adapter to be usable outside sun4m
Date: Fri, 29 Feb 2008 20:59:55 +0200

On 2/24/08, Hervé Poussineau <address@hidden> wrote:
> Hi,
>
>  At the moment, ESP SCSI adapter can only be used inside sun4m machines.
>  Attached patch moves the declaration outside sun4m.h, so other machines
>  can also use it.
>  I've moved the declaration to devices.h because I found no better place
>  to put it. If you know a better place, please tell me :)

Good idea, but the patch breaks compiling other targets than Sparc32,
because the DMA functions are not defined. Before we have the generic
DMA, it may be possible to add #defines to use other DMA controllers'
functions. Or the correct access functions could be registered at init
time for small performance penalty.

reply via email to

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