lkml.org 
[lkml]   [2008]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Simple UART driver help and TTY questions
conOn 08/05/2008 06:33 PM, Ira Snyder wrote:
> static void tiny_config_port(struct uart_port *port, int flags)
> {
> FUNC_ENTER();

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.


\
 
 \ /
  Last update: 2008-08-06 23:29    [W:0.097 / U:22.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site