[PATCH] make level sensitive interrupt emulation default on SN2

From: Jeremy Higdon <jeremy_at_sgi.com>
Date: 2004-03-19 12:46:50
To simulate level-triggered interrupts on SN2, we need the
forced interrupt to be on by default.  Most PCI cards don't
need this, but the sata_vsc driver does.

thanks

jeremy

--- 2.6-devel/arch/ia64/sn/kernel/sn2/sn_proc_fs.c	2004-03-17 20:32:07.000000000 -0800
+++ linux-2.6.4/arch/ia64/sn/kernel/sn2/sn_proc_fs.c	2004-03-17 19:13:51.000000000 -0800
@@ -73,8 +73,13 @@
 	}
 }
 
-// Disable forced interrupts, but leave the code in, just in case.
-int sn_force_interrupt_flag = 0;
+/*
+ * Enable forced interrupt by default.
+ * When set, the sn interrupt handler writes the force interrupt register on
+ * the bridge chip.  The hardware will then send an interrupt message if the
+ * interrupt line is active.  This mimics a level sensitive interrupt.
+ */
+int sn_force_interrupt_flag = 1;
 
 static int
 sn_force_interrupt_read_proc(char *page, char **start, off_t off,
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Mar 18 20:49:12 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST