lkml.org 
[lkml]   [2000]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: M68k 2.3.99-pre3-6 compile fixes
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:57    [W:0.019 / U:91.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site