bug report

From: frank (salomon.frank@wincor-nixdorf.com)
Date: Wed Sep 20 2000 - 02:05:54 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:22 EST