Hi,
Rahul T wrote:
i am writing a serial device driver.
i came across an article on linux journal that stated regrding tty
and serial programming.
however i am not understanding why the structure termios is required.
any pointers in this direction ?
also i wuld like to know more about serial device drivers.
I could of months ago, I've written a serial driver for Linux 2.6. As
far as I remember, one doesn't have to take care of the structure
termios while writing a serial driver for Linux 2.6. Linux 2.6 has a new
infrastructure that really eases the implementation of serial drivers.
At that time, I started writing a page about this at
http://www.linux-mips.org/wiki/Serial_Driver_and_Console, but
unfortunately never took the time to complete it. Maybe you'll find
informations there.
Sincerly,
Thomas
--
Thomas Petazzoni
thomas.petazzoni@xxxxxxxx
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/