lkml.org 
[lkml]   [2003]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] DMA mapping API for Alpha
On Tue, Apr 29, 2003 at 04:08:24PM +0400, Ivan Kokshaysky wrote:
> 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.

Well, if you're arch doesn't support any struct device * but those
embedded in struct pci_dev or NULL you don't need to do much
but sticking a to_pci_dev() ontop of each function.

Btw, did you read my posting from Friday on this issue? The subjects is
'[HEADS UP] planned change to <asm-generic/dma-mapping.h> will cause
+arch breakage'
-
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/

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