All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Higdon <jeremy@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] make level sensitive interrupt emulation default on SN2
Date: Fri, 19 Mar 2004 01:46:50 +0000	[thread overview]
Message-ID: <20040319014650.GA659788@sgi.com> (raw)

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,

             reply	other threads:[~2004-03-19  1:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-19  1:46 Jeremy Higdon [this message]
2004-03-19  1:54 ` [PATCH] make level sensitive interrupt emulation default on SN2 Jesse Barnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040319014650.GA659788@sgi.com \
    --to=jeremy@sgi.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.