Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- As far as I know, the altpciechdma.c is not a char driver,or it is? I wonder,how could I access this driver from yhe userspace? Somebody has experience using this driver in Linux? I cannot see this driver in $/dev/ . --- Quote End --- Up to now, I used the driver only for debugging my design. Perfomed some read/write accesses and allocated some memory for DMA writing from FPGA. I just removed the selftest function and replaced it by my own code (plus some minor changes in the rest of the driver). For this purpose you just have to compile the modules first (take a look at LDD3 oder at http://www.dirac.org/linux/writing/lkmpg/2.6/lkmpg-2.6.0.html which was quite well for me since I had some version problems). Then you have load the modules into the kernel (insmod), thats it!