Hi, I am new to linux device driver development and I'm trying to learn the memory mapping. Currently I am trying to memory map a dma buffer allocated using pci_alloc_consistent() function.
Now what exactly I want is that whenever I map a char device from user space program, let say /dev/test, internally that DMA buffer gets memory mapped to the user space? Also what should I pass as the length parameter in the mmap() function? Thanks in advance Ravi Gupta
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev