Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102358
b: refs/heads/master
c: b1ca7e7
h: refs/heads/master
v: v3
  • Loading branch information
Jack Steiner authored and Linus Torvalds committed Jul 21, 2008
1 parent 8391e81 commit f115e8a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87c25ef0a41ad7a8249cd3009bf65deb700d4ee3
refs/heads/master: b1ca7e7a0b35874b2a9cae60f8f5b78df575faa7
14 changes: 7 additions & 7 deletions trunk/drivers/serial/ioc3_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ static void transmit_chars(struct uart_port *the_port)
return;

info = the_port->info;
tty = info->tty;
tty = info->port.tty;

if (uart_circ_empty(&info->xmit) || uart_tx_stopped(the_port)) {
/* Nothing to do or hw stopped */
Expand Down Expand Up @@ -997,14 +997,14 @@ ioc3_change_speed(struct uart_port *the_port,

the_port->ignore_status_mask = N_ALL_INPUT;

info->tty->low_latency = 1;
info->port.tty->low_latency = 1;

if (I_IGNPAR(info->tty))
if (I_IGNPAR(info->port.tty))
the_port->ignore_status_mask &= ~(N_PARITY_ERROR
| N_FRAMING_ERROR);
if (I_IGNBRK(info->tty)) {
if (I_IGNBRK(info->port.tty)) {
the_port->ignore_status_mask &= ~N_BREAK;
if (I_IGNPAR(info->tty))
if (I_IGNPAR(info->port.tty))
the_port->ignore_status_mask &= ~N_OVERRUN_ERROR;
}
if (!(cflag & CREAD)) {
Expand Down Expand Up @@ -1399,14 +1399,14 @@ static int receive_chars(struct uart_port *the_port)
/* Make sure all the pointers are "good" ones */
if (!info)
return 0;
if (!info->tty)
if (!info->port.tty)
return 0;

if (!(port->ip_flags & INPUT_ENABLE))
return 0;

spin_lock_irqsave(&the_port->lock, pflags);
tty = info->tty;
tty = info->port.tty;

read_count = do_read(the_port, ch, MAX_CHARS);
if (read_count > 0) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/sn_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags)

if (port->sc_port.info) {
/* The serial_core stuffs are initilized, use them */
tty = port->sc_port.info->tty;
tty = port->sc_port.info->port.tty;
}
else {
/* Not registered yet - can't pass to tty layer. */
Expand Down

0 comments on commit f115e8a

Please sign in to comment.