[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/