Skip to content

Commit

Permalink
[PATCH] Altix: shut off xmit intr if done xmitting
Browse files Browse the repository at this point in the history
Small mod to shut off the xmit interrupt if we have nothing to transmit.

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
Pat Gefre authored and Linus Torvalds committed Jun 23, 2005
1 parent 618f063 commit 328007b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/serial/sn_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ static void sn_transmit_chars(struct sn_cons_port *port, int raw)

if (uart_circ_empty(xmit) || uart_tx_stopped(&port->sc_port)) {
/* Nothing to do. */
ia64_sn_console_intr_disable(SAL_CONSOLE_INTR_XMIT);
return;
}

Expand Down

0 comments on commit 328007b

Please sign in to comment.