patch-2.4.0-test4 linux/arch/ppc/kernel/open_pic.c
Next file: linux/arch/ppc/kernel/pci.c
Previous file: linux/arch/ppc/kernel/oak_setup.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jul 13 09:42:50 2000
- Orig file:
v2.4.0-test3/linux/arch/ppc/kernel/open_pic.c
- Orig date:
Fri Jun 23 21:55:07 2000
diff -u --recursive --new-file v2.4.0-test3/linux/arch/ppc/kernel/open_pic.c linux/arch/ppc/kernel/open_pic.c
@@ -261,12 +261,15 @@
while(np) {
int j, pri;
pri = strcmp(np->name, "programmer-switch") ? 2 : 7;
- for (j=0;j<np->n_intrs;j++)
+ for (j=0;j<np->n_intrs;j++) {
openpic_initirq( np->intrs[j].line,
pri,
np->intrs[j].line,
- np->intrs[j].sense,
+ 0,
np->intrs[j].sense);
+ if (np->intrs[j].sense)
+ irq_desc[np->intrs[j].line].status = IRQ_LEVEL;
+ }
np = np->next;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)