PCI express driver, map physical bus address to user-space
Hi,
I am currently writing a PCIe driver as a kernel module. And I want to map the PCI bords memory up too user-space with mmap. Can some one tell me if I first need to ioremap() the physical bus address into kernel virtual memory and then in the mmap function use remap_pfn_range(), or should the ioremap() be skipped and only remap_pfn_range() be used?
Thanks for your help
|