serialconsole broken in 2.4.2-ac16

From: Martin Josefsson (gandalf@wlug.westbo.se)
Date: Fri Mar 09 2001 - 14:02:33 EST

  • Next message: Pete Zaitcev: "Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]"

    Hi

    I found out that there has been a namechange in serial.h and here's the
    corresponding changes to serial.c.

    --- linux-2.4.2-ac16.backup/drivers/char/serial.c Fri Mar 9 16:39:16 2001
    +++ linux-2.4.2-ac16/drivers/char/serial.c Fri Mar 9 19:57:52 2001
    @@ -5494,7 +5494,7 @@
                     if (--tmout == 0)
                             break;
             } while((status & BOTH_EMPTY) != BOTH_EMPTY);
    - if (info->flags & ASYNC_NO_FLOW)
    + if (info->flags & ASYNC_CONS_FLOW)
                     return;
             tmout = 1000000;
             while (--tmout && ((serial_in(info, UART_MSR) & UART_MSR_CTS) == 0));
    @@ -5663,7 +5663,7 @@
              */
             state = rs_table + co->index;
             if (doflow == 0)
    - state->flags |= ASYNC_NO_FLOW;
    + state->flags |= ASYNC_CONS_FLOW;
             info = &async_sercons;
             info->magic = SERIAL_MAGIC;
             info->state = state;

    /Martin

    Linux hackers are funny people: They count the time in patchlevels.

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



    This archive was generated by hypermail 2b29 : Fri Mar 09 2001 - 14:09:30 EST