[lkml]   [2007]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectshould RTS init in serial core be tied to CRTSCTS
    the console= bootcmd allows for controlling of the initial state of
    flow control by adding/omitting the 'r' suffix ... however, the
    uart_startup() function in serial_core.c always calls down into the
    serial driver with TIOCM_RTS:
    static int uart_startup(...) {
    * Setup the RTS and DTR signals once the
    * port is open and ready to respond.
    if (info->tty->termios->c_cflag & CBAUD)
    uart_set_mctrl(port, TIOCM_RTS | TIOCM_DTR);

    shouldnt TIOCM_RTS be passed down only when the 'r' is appended to the
    boot cmdline ? perhaps like this:
    uart_set_mctrl(port, (info->flags & UIF_CTS_FLOW ? TIOCM_RTS : 0) | TIOCM_DTR);
    assuming too that TIOCM_DTR should always be set ...
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-03-02 01:07    [W:0.038 / U:6.272 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site