lkml.org 
[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
From
Date
>>>>> "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/

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