Re: Need help

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

 




Hi
On 10/27/06, Prasenjit Manna <reach2prasenjit@xxxxxxxxx> wrote:
On 10/26/06, Kris van Rens <krisvanrens.list@xxxxxxxxx> wrote:
<snip>
> Can you be more specific? I guess you mean you have two drivers
> (modules?) in one kernel and you want them to communicate internally?
>
Yes, I have two drivers modules in one kernel. I want to communicate
them internally.


You can write a user application with implementation of ioctl call. One ioctl requests the data and another  ioctl just pass the data another module....

within kernel we can use filp_open() to open the file structure and can do read ,write,ioctl through file->f_op->read,write,ioctl....next we can close this by filp_close.

bye
suman

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux