[lkml]   [2000]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: A simple question about readw, readw and the like
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 <> DSA key 0x04880A44

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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