public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make level sensitive interrupt emulation default on SN2
@ 2004-03-19  1:46 Jeremy Higdon
  2004-03-19  1:54 ` Jesse Barnes
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Higdon @ 2004-03-19  1:46 UTC (permalink / raw)
  To: linux-ia64

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-19  1:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-19  1:46 [PATCH] make level sensitive interrupt emulation default on SN2 Jeremy Higdon
2004-03-19  1:54 ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox