I am trying to write kernel level driver. If i understand right, i should use ioctl function to access my driver from user space. Actually copy_to_user() and copy_from_user() is the prototype get_user() and put_user? thanks Sumit Agarwal wrote: >Are u writing a user level driver or a kernel level driver? > >To have an access to the actual devices, you always need a >kernel agent, otherwise you would be violating the >protection law on the i386 architecture. > >You can use PCI function calls being in kernel only. > >To understand data interaction between kernel & user space >explore copy_to_user() and copy_from_user() > >Thanks, >Sumit > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/