Linux driver development [Archive] - SpeedGuide.net Broadband Community

View Full Version : Linux driver development


asankaan
07-26-05, 11:25 PM
Hi,
I'm developing a Linux driver for a PCI interfacing card. I'm using /proc interface as my communication point for the driver.(read_proc and write_proc functions for reading and writing). I wnat to pass a pointer from usrspace to the driver. How can I do it? Is ther any way similar to IOCTL handles in proc system?

Asanka

TonyT
07-27-05, 06:13 AM
may find some info here
http://www.google.com/search?hl=en&q=proc+interface++pass+a+pointer+from+user+space+to+the+driver&spell=1

asankaan
08-03-05, 07:13 AM
Thanks.
Anyhow I switched to file operation structure with IOCTL operations. It was very easier than /proc.

Asanka.