lkml.org 
[lkml]   [2000]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: A simple question about readw, readw and the like
From
On Thu, Jul 27, 2000 at 03:42:58PM -0700, David S. Miller wrote:
> If you do it correctly. I agree it's currently not all that aparent
> how to do this correctly. On sparc64, we actually store the physical
> addresses in the pci_dev->resource[xxx] values, but nobody should know
> that, it's implementation defined what these resource values mean.
> The only part of them which is defined is how you go about making use
> of them, that is all.

Sometimes it is needed to let one PCI device do DMA to another part of
itself or another PCI device. For this, you need the bus addresses of
the PCI memory resources. If pci_resource_start(dev,x) doesn't give
you that, where else could it be found? By doing configure space reads
I guess, but is that really necessary?

--
Andreas E. Bombe <andreas.bombe@munich.netsurf.de> DSA key 0x04880A44
http://home.pages.de/~andreas.bombe/ http://linux1394.sourceforge.net/

-
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    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean