linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Accessing PCI-E resources on 460EX
@ 2008-11-03 21:09 Felix Radensky
  2008-11-03 21:31 ` Ayman El-Khashab
  2008-12-01  7:54 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 9+ messages in thread
From: Felix Radensky @ 2008-11-03 21:09 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-12-04  9:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03 21:09 Accessing PCI-E resources on 460EX Felix Radensky
2008-11-03 21:31 ` Ayman El-Khashab
2008-11-03 22:53   ` Felix Radensky
2008-11-04 18:40     ` Henry Bausley
2008-12-01  7:54 ` Benjamin Herrenschmidt
2008-12-01 11:08   ` Felix Radensky
2008-12-01 21:04     ` Benjamin Herrenschmidt
2008-12-02 22:38       ` Felix Radensky
2008-12-04  9:22         ` Felix Radensky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).