Accessing PCI-E resources on 460EX

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Dec 1 18:54:45 EST 2008


On Mon, 2008-11-03 at 23:09 +0200, Felix Radensky wrote:
> Hi,
> 
> I'm currently struggling with some application
> that tries to access PCI-E memory by mmaping
> address found in /sys/bus/pci/devices/<device>/resource
> 
> mmap() fails with "invalid argument" error, apparently
> because on 460EX PCI addresses are 36-bit.
> 
> What is the correct way of accessing PCI-E from
> userspace on this platform.

I fixed a lot of these problems recently. Can you try again with
2.6.28-latest-rc ?

Cheers,
Ben.



More information about the Linuxppc-embedded mailing list