lkml.org 
[lkml]   [2000]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbug report

hi all,
I hope it is the right mailing list!

Kernel version 2.2.5-15 and 2.2.10 (no other available)

The problem:

A consol-terminal connected to /dev/ttyS? cannot work with parity = odd.

error is in:

/usr/src/linux/drivers/serial.c

error resolving:

In fuction :

__initfunc(static int serial_console_setup(struct console *co, char
*options))

at line 3488:

wrong:
switch(parity) {
case 'o': case 'O':
cflag |= PARODD;
break;
case 'e': case 'E':
cflag |= PARENB;
break;
}

ok:
switch(parity) {
case 'o': case 'O':
cflag |= PARODD;
cflag |= PARENB;
break;
case 'e': case 'E':
cflag |= PARENB;
break;
}


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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.049 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site