Hi, I am looking for a way by which the application code can access the PCI configuration registers.I know that we can ioremap the device address to kernel space and the user can mmap it. Is there any other way to do it other than calling mmap from application. For eg: can we make use of an ioctl and in that ioctl issue a call to do_mmap2 ----> do_mmap_pgoff? Can we pass the ioremapped address to do_mmap2 call? The problem with the above approach is that i always get ffffffed as the mapped address which does not look like a valid user space virtual address. Pl suggest me if there is a better approach. Rgds Anand -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/