Re: Simple UART driver help and TTY questions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Slaby
Date: Wednesday, August 6, 2008 - 2:11 pm

conOn 08/05/2008 06:33 PM, Ira Snyder wrote:

         if (flags & UART_CONFIG_TYPE)
                 port->type = PORT_16550A;


According to the straces, you get -EIO from ioctl and read which most likely 
means TTY_IO_ERROR bit set due to tiny_port->type = PORT_UNKNOWN (i.e. 0). Try 
the above.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Simple UART driver help and TTY questions, Ira Snyder, (Tue Aug 5, 9:33 am)
Re: Simple UART driver help and TTY questions, Jiri Slaby, (Tue Aug 5, 2:21 pm)
Re: Simple UART driver help and TTY questions, Ira Snyder, (Wed Aug 6, 12:32 pm)
Re: Simple UART driver help and TTY questions, Jiri Slaby, (Wed Aug 6, 2:11 pm)
Re: Simple UART driver help and TTY questions, Ira Snyder, (Wed Aug 6, 2:46 pm)
Re: Simple UART driver help and TTY questions, Jiri Slaby, (Wed Aug 6, 2:51 pm)