How do I call other drivers?

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

 



I need to write a driver that satisfies its reads and writes by calling
other block drivers.  What is the proper way to do this?  Should I use
generic_file_read or do_generic_file_read?  Should I make a request
directly to the device using the blk_dev[] array?  If so, how do I do
that?

If I should use generic_file_read, is do_generic_file_read an asynchronous
version and is the "actor" function passed to it a call-back?

Thanks


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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