Accessing PCI-E resources on 460EX

Felix Radensky felix at embedded-sol.com
Tue Nov 4 08:09:22 EST 2008


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.

Thanks a lot.

Felix Radensky
Embedded Solutions Ltd.
http://www.embedded-sol.com


More information about the Linuxppc-embedded mailing list