[PATCH] 2.6 Altix : shut off xmit intr if done xmitting

From: Pat Gefre
Date: Wed May 11 2005 - 15:10:51 EST



Small mod to shut off the xmit interrupt if we have nothing to transmit.

Signed-off-by: Patrick Gefre <pfg@xxxxxxx>

--

Patrick Gefre
Silicon Graphics, Inc. (E-Mail) pfg@xxxxxxx
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;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/