patch-2.1.125 linux/arch/m68k/atari/ataints.c
Next file: linux/arch/m68k/atari/stram.c
Previous file: linux/arch/m68k/amiga/config.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Oct 5 13:54:39 1998
- Orig file:
v2.1.124/linux/arch/m68k/atari/ataints.c
- Orig date:
Tue Jun 23 10:01:20 1998
diff -u --recursive --new-file v2.1.124/linux/arch/m68k/atari/ataints.c linux/arch/m68k/atari/ataints.c
@@ -419,6 +419,7 @@
unsigned long flags, const char *devname, void *dev_id)
{
int vector;
+ unsigned long oflags = flags;
/*
* The following is a hack to make some PCI card drivers work,
@@ -427,9 +428,14 @@
flags &= ~SA_SHIRQ;
+ if (flags == SA_INTERRUPT) {
+ printk ("%s: SA_INTERRUPT changed to IRQ_TYPE_SLOW for %s\n",
+ __FUNCTION__, devname);
+ flags = IRQ_TYPE_SLOW;
+ }
if (flags < IRQ_TYPE_SLOW || flags > IRQ_TYPE_PRIO) {
- printk ("%s: Bad irq type %ld requested from %s\n",
- __FUNCTION__, flags, devname);
+ printk ("%s: Bad irq type 0x%lx <0x%lx> requested from %s\n",
+ __FUNCTION__, flags, oflags, devname);
return -EINVAL;
}
if (!IS_VALID_INTNO(irq)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov