RE: filter drivers in Linux

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

 



> On 18:32 Wed 24 Dec     , Srinivas G. wrote:
>>  Is there any concept of filter driver in case of Linux like in
windows
>>  OS. In windows we can write a filter driver to enhance the behavior
of
>>  existing driver and this filter driver can be attached to main
driver
>>  either above or below. But I don't see similar concept in Linux.

> I am not sure if I have understood you correctly and I am not familiar
with
> windows drivers, but I think what you are trying to do is wrong. You
have the
> source code of every driver and every subsystem of the kernel. You can
change
> the driver, subsystems, in-kernel apis, ... and create new ones
whenever you
> like. Why do you want do add function call redirects at runtime? Such
things
> make changing drivers or other things later much harder. It may be the
only
> way, if you do not have the source code of the driver/kernel. On
Linux, you
> do!

Dear All,

Thanks a lot.

Actually my requirement is a bit different. I wanted to develop my
custom driver in USB stack, which wanted to modify the data transmitted
and received by storage class driver.

Here is the place of the driver I am planning to implement.

User Mode Driver
     |
Storage Class Driver
     |
MY CUSTOM DRIVER   
     |
Bus Class Driver

In this case, Do I need to know the function calls supported by "Storage
Class Drivers" and "Bus Class Drivers"?
Will there be any documentation available or any such type of
implementation available in any Linux flavor?

Please let me know If I am missing any thing here.

Thanks in advance.

With Regards,
Srinivas. G

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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