Port-m68k archive

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

Re: Incomplete bus.h



Hi Martin.

On 5 maj 2012, at 11:53, Martin Husemann wrote:

> Some m68k architectures have an incomplete bus.h header: it does not
> define bus_dma_tag_t and friends. Solution would be to add a
> 
> #include <m68k/bus_dma.h>
> 
> in there (as for example mac68k already does). This would fix -current
> build failures in if_axe.c.
> 
> Is there any reason not to do this?

I'm not sure if there's any reason, but I've already did this in 
amiga/include/pci_machdep.h and it didn't break anything. It was needed to 
compile the PCI MI layer. On the other hand, I don't know how m68k/bus_dma.h 
relates to MD DMA specifics. I never had the chance to test it, because we 
don't (yet) support PCI DMA to host memory on amiga.

-- 
Best regards,
Radoslaw Kujawa






Home | Main Index | Thread Index | Old Index