2005-05-11 20:09:13

by Patrick Gefre

[permalink] [raw]
Subject: [PATCH] 2.6 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 <[email protected]>

--

Patrick Gefre
Silicon Graphics, Inc. (E-Mail) [email protected]
2750 Blue Water Rd (Voice) (651) 683-3127
Eagan, MN 55121-1400 (FAX) (651) 683-3054





Index: linux-2.6/drivers/serial/sn_console.c
===================================================================
--- linux-2.6.orig/drivers/serial/sn_console.c 2005-05-04 16:50:17.574221234 -0500
+++ linux-2.6/drivers/serial/sn_console.c 2005-05-11 14:37:07.817008412 -0500
@@ -572,6 +572,7 @@

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