Re: PROBLEM: Possible bug in drivers/char/serial.c (2.2.14)

From: Theodore Y. Ts'o (tytso@MIT.EDU)
Date: Sat Apr 22 2000 - 12:43:01 EDT

  • Next message: Alex Buell: "Re: "movb" for spin-unlock (was Re: namei() query)"

       Date: Sat, 22 Apr 2000 11:07:37 +0400
       From: root <vim@foto.asvt.ru>

       Possible bug in drivers/char/serial.c (2.2.14)

       Pcmcia serial_cs.o module assigns ttyS0 to pcmcia modem while ttyS0 is
       originally internal serial port. The problem was found in
       char/devices/serial.c. Version 2.2.12 of serial.c with the rest of
       2.2.14 works fine. Difference is in line 1696:

    Can you say more about the problem you're trying to track down? pcmcia
    serial_cs.o will reassign ttyS0 to the pcmcia modem under the following
    circumstances the port assigned by the pcmcia subsystems matches the
    default ttyS0 port, OR (2) ttyS0 is currently not be configured.

       2.2.12:
       uart_config[state->type].dfl_xmit_fifo_size;
       2.2.14:
       uart_config[new_serial.type].dfl_xmit_fifo_size;

    This change has nothing to do with how devices are assigned, as needed
    to solve a bug when using setserial to set the UART type.

                                                    - Ted

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



    This archive was generated by hypermail 2b29 : Sat Apr 22 2000 - 13:05:21 EDT