[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
RE: device driver
I am now going through the source of Bluetooth device driver
(www.developer.axis.com) this is implemented as char diver.
In Rubin's Device driver book he is using file_operation structure defining
the function the and registering this structure with the kernal using
But in this Bluetooth driver they are using tty_driver and tty_ldisk and
resgistering with the kernal using tty_register_driver(..)
My question is when we have to use the above and when the lower one. And
also where can I get more details about the second implementation.
If you have any good links any other maerials pls send to me. My e-amil is
Thank you verymuch
[mailto:linux-india-programmers-owner@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
Sent: Tuesday, March 27, 2001 10:03 PM
Subject: RE: [LIP] device driver
On Tue, 27 Mar 2001, V.Kugan wrote:
> Hi Amit
> Thank you very much, but still I have few more doubts.
> Yes , as u say i will heve to implement functions in file_operation
> structure and register that with the kerlnal while initializing the device
> But my question is about tty_driver struct and tyy driver and how to use
> what is the difference between this and the earlier, May be I am missing
> whole point here :( .
> Thank you very much
I am not sure i understand what your question is ? What about the
tty_driver struct ? Can u be a little more specific ?
EECS Grad. Research Assistant
Team Niehaus || Room # 245E
University of Kansas @ Lawrence
(R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
An alpha version of a web based tool to manage
your subscription with this mailing list is at