Accessing PCI Device from user space programs

Posted by crissangel on Stack Overflow See other posts from Stack Overflow or by crissangel
Published on 2010-06-08T09:47:57Z Indexed on 2010/06/08 10:02 UTC
Read the original article Hit count: 183

Filed under:
|

I have a device which would be interface with my processor through pcie. I have written driver for it using the existing pci file operations.

Now my problem is how do I access it from user space programs? PCI File operations do not have IOCTL support and hence I cant make an ioctl call unlike other char devices. I cannot use pci_config_read_byte etc. functions as they are meant for kernel space(included in linux/pci.h).

© Stack Overflow or respective owner

Related posts about x86

Related posts about pci