Re: M68k 2.3.99-pre3-6 compile fixes

From: Jes Sorensen (Jes.Sorensen@cern.ch)
Date: Mon Mar 27 2000 - 10:35:04 EST


>>>>> "Jeff" == Jeff Garzik <jgarzik@mandrakesoft.com> writes:

Jeff> Jes Sorensen wrote:
>> Though dma_addr_t ought to be used for PCI only - it shouldn't
>> appear in the code you compile for the Mac.

Jeff> That's the theory... but DMA mapping is useful on non-PCI
Jeff> systems. It's built such that you can pass NULL for the PCI
Jeff> device and the right things will happen.

Oh I don't say it's not useful, it's just kinda a kludge to assume
that a PCI DMA address is the same type as any other DMA address. On
some systems you could have a 64 bit DMA address for another bus type
and the 32 bit one for PCI-32.

Jes

-
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