lkml.org 
[lkml]   [2006]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to replace bus_to_virt()?
From
Date
On Sun, 2006-04-30 at 16:52 +0200, Stefan Richter wrote:
> Hi all,
>
> is there a *direct* future-proof replacement for bus_to_virt()?
>
> It appears there are already architectures which do not define a
> bus_to_virt() funtion or macro. If there isn't a direct replacement, is
> there at least a way to detect at compile time whether bus_to_virt() exists?

I'd go one step further: given a world with iommu's, and multiple pci
domains etc, how can you know there even IS such a translation possible
(without first having set it up from the other direction)?


-
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: 2006-04-30 17:53    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site