From: Pat Gefre Date: Thu, 23 Jun 2005 07:09:54 +0000 (-0700) Subject: [PATCH] Altix: shut off xmit intr if done xmitting X-Git-Tag: v2.6.13-rc1~68^2~421 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328007b70c8e99c62eef5bc310d8a21d0e937342;p=linux-2.6 [PATCH] Altix: shut off xmit intr if done xmitting Small mod to shut off the xmit interrupt if we have nothing to transmit. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c index fee6418e84..840815fde4 100644 --- a/drivers/serial/sn_console.c +++ b/drivers/serial/sn_console.c @@ -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; }