Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38168
b: refs/heads/master
c: 9e84b60
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Paul Mackerras committed Sep 26, 2006
1 parent edb164d commit f139223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: c32527a14049130eb29103b8da27520f07092371
refs/heads/master: 9e84b60ed87f5fe2dce10be2db1bfbb926a49e66
4 changes: 2 additions & 2 deletions trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ static unsigned int serial_in(struct uart_8250_port *up, int offset)

case UPIO_TSI:
if (offset == UART_IIR) {
tmp = readl((u32 *)(up->port.membase + UART_RX));
return (cpu_to_le32(tmp) >> 8) & 0xff;
tmp = readl(up->port.membase + (UART_IIR & ~3));
return (tmp >> 16) & 0xff; /* UART_IIR % 4 == 2 */
} else
return readb(up->port.membase + offset);

Expand Down

0 comments on commit f139223

Please sign in to comment.