Jes Sorensen wrote:
>
> >>>>> "David" == David Woodhouse <dwmw2@infradead.org> writes:
>
> David> geert@linux-m68k.org said:
> >> Why is the #ifdef necessary in the first place? include/asm-m68k/
> >> pci.h does exist in my tree.
>
> David> It's not necessary - I probably should have omitted it along
> David> with the #define ADBREQ_RAW 0 which I added to
> David> arch/m68k/mac/misc.c
>
> David> The 'correct' fix is to define dma_addr_t somewhere.
>
> Though dma_addr_t ought to be used for PCI only - it shouldn't appear
> in the code you compile for the Mac.
That's the theory... but DMA mapping is useful on non-PCI systems.
It's built such that you can pass NULL for the PCI device and the right
things will happen.
-- Jeff Garzik | Tact is the ability to tell a man Building 1024 | he has an open mind when he has a MandrakeSoft, Inc. | hole in his head. (-random fortune)- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:19 EST