Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have read about tty core in the last chapter of Linux device drivers 3rd edition. When I browsed my linux source tree, I have noticed drivers/serial/serial_core.c. This file is being used by the other files (i.e. uart00.c) on the same folder. I am wondering if this is the tty core that the book has mentioned. Although all the functions used which were preceeded by tty (i.e. tty_register_driver) were replaced by uart (i.e. uart_register_driver). If this is the tty core, is the naming convention in the file serial_core.c has changed?
Also if I am going to develop a serial driver, am I going to register it with the serial_core.c?
My distro is montavista linux pro 4.01, kernel version 2.6.10.
hmm.. so it means, the one that has the tty_register_driver declaration, is the tty core? Ok I'll check on these files. Anyhow, what would be the use of the serial_core.c? Someone told me, I have to register my tty driver with that file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.