[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCI Driver



--- Kirill Messel <kirill.messel@mtu-net.ru> wrote:
> I am trying to write kernel level driver.
> If i understand right, i should use ioctl function to access my
> driver 
> from user space. 

Yes.

> Actually  copy_to_user() and copy_from_user() is
> the 
> prototype get_user() and put_user?
> 

No.

grep the code, Luke!  See uaccess.h

Harmony,

--Christine


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/