Hi All,
I'm starting to develop a serial driver for a Bar Code Reader.
My questions is: Which is the relationship between the tty driver and
the uart driver?
For instance, take a look of serial_core.c
(http://lxr.linux.no/source/drivers/serial/serial_core.c#L2059).Both are
related but I cannot understand the relationship and which one you
should use in which case.
To register a serial device driver should I use: tty_register_driver()
or uart_register_driver ?
I'm using kernel 2.6.15 - Ubuntu 6.06
Thanks in advance.
Ulises
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/