Skip to content

Commit

Permalink
[PATCH] Altix ioc4 serial - Arm the read timeout timer before the fir…
Browse files Browse the repository at this point in the history
…st read

Arm the read timeout timer before the first read.

Signed-off-by: Patrick Gefre <pfg@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Patrick Gefre authored and Linus Torvalds committed May 1, 2005
1 parent 68985e4 commit 5b052d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/ioc4_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ static int inline port_init(struct ioc4_port *port)
port->ip_tx_prod = readl(&port->ip_serial_regs->stcir) & PROD_CONS_MASK;
writel(port->ip_tx_prod, &port->ip_serial_regs->stpir);
port->ip_rx_cons = readl(&port->ip_serial_regs->srpir) & PROD_CONS_MASK;
writel(port->ip_rx_cons, &port->ip_serial_regs->srcir);
writel(port->ip_rx_cons | IOC4_SRCIR_ARM, &port->ip_serial_regs->srcir);

/* Disable interrupts for this 16550 */
uart = port->ip_uart_regs;
Expand Down

0 comments on commit 5b052d8

Please sign in to comment.