lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <489A1364.4020809@gmail.com>
Date:	Wed, 06 Aug 2008 23:11:00 +0200
From:	Jiri Slaby <jirislaby@...il.com>
To:	Ira Snyder <iws@...o.caltech.edu>
CC:	linux-kernel@...r.kernel.org
Subject: Re: 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ