On Fri, Jan 07, 2005 at 01:39:04PM +0200, Michael S. Tsirkin wrote:
> So PCI addresses are different from physical addresses,

Yes, they can be.
My point was the addreses mappings can be 1:1 in one
direction but not 1:1 in the other.
It's platform specific.

> and /dev/mem deals with physical addresses, right?
> If that's the case, changing mmapped access to pread/pwrite
> wont help either?

TBH, I don't really know. Frame buffer support in XF86 must
be dealing with this issue.

> So is there a way to get at the pci bus from userspace
> on that platform?

Only thing consistent is PCI config space - assuming the PCI
bus numbers don't change.
Look at pciutils to see how and what it supports.

hth,
grant
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to