On 2/24/08, Hervé Poussineau <[EMAIL PROTECTED]> 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.