LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2009, 12:08 PM   #1
avyadavnitw
LQ Newbie
 
Registered: Apr 2009
Posts: 16

Rep: Reputation: 0
fops in linux device drivers


hi,
is that fops structure is necessary in device drivers..................how from application it is called.
Ex:
struct fops
{
open
read
}

from application how it called
 
Old 04-24-2009, 11:39 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

It defines what operations (e.g. "open" and "read", in your example) are available for that kernel driver.

Book recommendation: Linux Device Drivers, 3rd Edition; Rubini et al, O'Reilly

'Hope that helps .. PSM
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error :variable fops has initializer but incomplete type in compile device driver saffari62 Programming 1 04-06-2008 01:53 PM
Linux Device Drivers isalmbio Linux - Hardware 4 12-16-2006 11:33 AM
Automatic Device Drivers for linux tstolber Linux - General 2 04-09-2006 04:06 PM
linux kernel device drivers alaios Linux - General 1 08-16-2004 08:08 AM
linux device drivers alaios Programming 1 05-24-2003 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration