On Tue, Apr 29, 2003 at 12:20:14PM +0100, Christoph Hellwig wrote:
> Well, pci_* is a legacy API in Linux 2.5 now. Currently architectures
> can either implement dma_* or pci_* and the other one will be emulated,
> but I hope we can get rid of this mess soon and dma_* is the one
> implemented on the architectures and pci_* emulated in a single
> place - and maybe it can go away two stables series from now.
This won't change the fact that alpha is PCI-centric (as well as
most other architectures) and in general "struct device" doesn't
provide sufficient DMA information, unlike "struct pci_dev".
pci_* being emulated means pci_dev to device translation and then
rather complex and ugly device to pci_dev translation in arch code.
Sigh...
Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:31 EST