Re: serial.c

From: Theodore Y. Ts'o (tytso@MIT.EDU)
Date: Wed May 10 2000 - 16:47:28 EST


Steve pretty much covered most of responses I would have given, so I'll
limit myself to pointing out a couple of other resources.

1) If you're trying to write Linux device driver for a non-16550
device, check out the definitions in include/linux/tty_driver.h and
include/linux/tty_ldisc.h. That documents most of the Linux tty
interfaces, at least at a basic level.

2) If you're trying to figure out how to program a 16550 UART for the
purposes of creating a device driver for another OS, I suggest you get a
copy of the National Semincoductor Application Notes for the 16550 UART.
They have some very nicely documented code which shows how to access the
UART. Another good reference guide is the book "Programmer's Technical
Reference: Data and Fax Communications", by Robert L. Hummet, which has
a good section on explaining UART programming.

                                                - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:16 EST