Hi,
I am building a module that interacts with userspace only through an IOCTL interface. The module has no physical device associated with it and does not really have any storage associated with it either. I do, however, need it to show up in /dev/ and be able to handle IOCTL calls.
I am trying to figure out what the absolutely simplest way to handle registration and de-registration is. I could obviously just call the block or char-device registration functions, but I feel there must be a better way that is almost equally simple. I have looked through the Device Module chapter of Linux Device Drivers, but it's pretty complicated and I am not sure which of these parts I need.
I hope someone can help.
Thank you very much, Can Sar
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/