Loading drivers/char/tty_port.c +5 −2 Original line number Diff line number Diff line Loading @@ -219,8 +219,11 @@ int tty_port_block_til_ready(struct tty_port *port, /* if non-blocking mode is set we can pass directly to open unless the port has just hung up or is in another error state */ if ((filp->f_flags & O_NONBLOCK) || (tty->flags & (1 << TTY_IO_ERROR))) { if (tty->flags & (1 << TTY_IO_ERROR)) { port->flags |= ASYNC_NORMAL_ACTIVE; return 0; } if (filp->f_flags & O_NONBLOCK) { /* Indicate we are open */ if (tty->termios->c_cflag & CBAUD) tty_port_raise_dtr_rts(port); Loading drivers/serial/bcm63xx_uart.c +2 −2 Original line number Diff line number Diff line Loading @@ -242,7 +242,7 @@ static void bcm_uart_do_rx(struct uart_port *port) * higher than fifo size anyway since we're much faster than * serial port */ max_count = 32; tty = port->info->port.tty; tty = port->state->port.tty; do { unsigned int iestat, c, cstat; char flag; Loading Loading @@ -318,7 +318,7 @@ static void bcm_uart_do_tx(struct uart_port *port) return; } xmit = &port->info->xmit; xmit = &port->state->xmit; if (uart_circ_empty(xmit)) goto txq_empty; Loading drivers/serial/of_serial.c +1 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,7 @@ static int of_platform_serial_remove(struct of_device *ofdev) static struct of_device_id __devinitdata of_platform_serial_table[] = { { .type = "serial", .compatible = "ns8250", .data = (void *)PORT_8250, }, { .type = "serial", .compatible = "ns16450", .data = (void *)PORT_16450, }, { .type = "serial", .compatible = "ns16550a", .data = (void *)PORT_16550A, }, { .type = "serial", .compatible = "ns16550", .data = (void *)PORT_16550, }, { .type = "serial", .compatible = "ns16750", .data = (void *)PORT_16750, }, { .type = "serial", .compatible = "ns16850", .data = (void *)PORT_16850, }, Loading Loading
drivers/char/tty_port.c +5 −2 Original line number Diff line number Diff line Loading @@ -219,8 +219,11 @@ int tty_port_block_til_ready(struct tty_port *port, /* if non-blocking mode is set we can pass directly to open unless the port has just hung up or is in another error state */ if ((filp->f_flags & O_NONBLOCK) || (tty->flags & (1 << TTY_IO_ERROR))) { if (tty->flags & (1 << TTY_IO_ERROR)) { port->flags |= ASYNC_NORMAL_ACTIVE; return 0; } if (filp->f_flags & O_NONBLOCK) { /* Indicate we are open */ if (tty->termios->c_cflag & CBAUD) tty_port_raise_dtr_rts(port); Loading
drivers/serial/bcm63xx_uart.c +2 −2 Original line number Diff line number Diff line Loading @@ -242,7 +242,7 @@ static void bcm_uart_do_rx(struct uart_port *port) * higher than fifo size anyway since we're much faster than * serial port */ max_count = 32; tty = port->info->port.tty; tty = port->state->port.tty; do { unsigned int iestat, c, cstat; char flag; Loading Loading @@ -318,7 +318,7 @@ static void bcm_uart_do_tx(struct uart_port *port) return; } xmit = &port->info->xmit; xmit = &port->state->xmit; if (uart_circ_empty(xmit)) goto txq_empty; Loading
drivers/serial/of_serial.c +1 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,7 @@ static int of_platform_serial_remove(struct of_device *ofdev) static struct of_device_id __devinitdata of_platform_serial_table[] = { { .type = "serial", .compatible = "ns8250", .data = (void *)PORT_8250, }, { .type = "serial", .compatible = "ns16450", .data = (void *)PORT_16450, }, { .type = "serial", .compatible = "ns16550a", .data = (void *)PORT_16550A, }, { .type = "serial", .compatible = "ns16550", .data = (void *)PORT_16550, }, { .type = "serial", .compatible = "ns16750", .data = (void *)PORT_16750, }, { .type = "serial", .compatible = "ns16850", .data = (void *)PORT_16850, }, Loading