Hi Greg, thanx for the reply! No i don't have any weird h/w, it's just that i wanted to learn how to write device driver modules in linux. I chose a serial driver b'cos a lot of people have told me it's the simplest to implement. mandeep -----Original Message----- From: Greg KH [mailto:greg@kroah.com] Sent: Tuesday, December 09, 2003 2:04 PM To: Mandeep Singh Sandhu Cc: kernelnewbies@nl.linux.org Subject: Re: Doubt in implementing serial driver! On Tue, Dec 09, 2003 at 01:50:38PM +0530, Mandeep Singh Sandhu wrote: > > In the context of a serial driver what is the significance of the > TERMIOS struct?? It controls all of the line settings. > If a person wanted to write his own serial port driver would he be > required to implement the TTY layer as well (as it is implemented by > tty_io.c in th Linux sources)?? Yes. But why would you want to do that? Do you have some wierd serial port hardware that Linux doesn't support? thanks, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/