Commit e35370a6 authored by Jeremy Higdon's avatar Jeremy Higdon Committed by David Mosberger

[PATCH] ia64: make level sensitive interrupt emulation default on SN2

SN2 doesn't fully support level triggered interrupts.  As a
workaround, we need this patch to force another interrupt if the line
is still high after a handler completes.
parent 65819c97
...@@ -73,8 +73,13 @@ register_sn_serial_numbers(void) { ...@@ -73,8 +73,13 @@ register_sn_serial_numbers(void) {
} }
} }
// 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 static int
sn_force_interrupt_read_proc(char *page, char **start, off_t off, sn_force_interrupt_read_proc(char *page, char **start, off_t off,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment