Re: Interfacing system calls and device driver

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

 



Shard Gupta wrote:
Hello list,

This is my first posting to this mailing list.
If I am writing a new device driver then is it always necessary to write a new system call, and how to call specific driver functionality from that system call.
No. Generally new system calls are not written by driver writers.
When you write character driver, you would create an instance of struct file_operations and assign function pointers. In case of network drivers, struct net_device should be filled with the corresponding file pointers.

Read Linux Device driver book freely available on net.

Thanks,
Om.


--
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