Messages in this thread | | | Subject | Re: M68k 2.3.99-pre3-6 compile fixes | From | Jes Sorensen <> | Date | 27 Mar 2000 17:35:04 +0200 |
| |
>>>>> "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/
| |