> I have a module that gets data from a PCI device and stores in into a
> struct in kernel space. How would I go about accessing the information
> contained in the struct via an ioctl call in user space? Or am I going
> about this this wrong way? :-)
I'm not exactly an expert on kernel internals, but I'd say either use a
device (/dev/whatever) or make the information obtained by your module
available in the /proc filesystem.
Both will do.
LLaP
bero
-- Windows 98 supports real multitasking - it can boot and crash simultaneously. *** Anyone sending unwanted advertising e-mail to this address will be charged $25 for network traffic and computing time. By extracting my address from this message or its header, you agree to these terms.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html