> On Mon, 20 Jul 1998, Chris Hirsch wrote:
>
> > 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.
I do have a device layed out say /dev/whatever and I've got it opened but
how do I copy either to the device or back from it?
Thanks,
chris
-
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