[lkml]   [2000]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: M68k 2.3.99-pre3-6 compile fixes
Jes Sorensen wrote:
> >>>>> "David" == David Woodhouse <> writes:
> David> 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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [W:0.038 / U:0.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site