Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow to finish the altpciechdma.c driver?
I've downloaded the altpciechdma.c driver for the Altera Arria GX dev kit. The char part of it is not yet finished (due to the comments). And a module is missign "mapper_user_to_sg.h". Smb has...
Altera_Forum
Honored Contributor
12 years agoHi,
the driver had enough code to test the connection between the FPGA and the kernel of the system. If I am not wrong, those functions were meant to provide data transfer between kernel space and user space. The functions that were allocated in those files are commented in the general code (not used). If your intention is to provide access from user space, then you should search on driver development and check functions such as copy_to_user and copy_from_user. As I did in my case, you have to finish it up. I hope it was of any help. P.D. I couldn't find it either