patch-1.3.70 linux/drivers/char/stallion.c
Next file: linux/drivers/char/tpqic02.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Mar 1 07:50:41 1996
- Orig file:
v1.3.69/linux/drivers/char/stallion.c
- Orig date:
Fri Feb 16 11:34:06 1996
diff -u --recursive --new-file v1.3.69/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -489,7 +489,7 @@
static void stl_sendbreak(stlport_t *portp, long len);
static int stl_waitcarrier(stlport_t *portp, struct file *filp);
static void stl_delay(int len);
-static void stl_intr(int irq, struct pt_regs *regs);
+static void stl_intr(int irq, void *dev_id, struct pt_regs *regs);
static void stl_offintr(void *private);
static void *stl_memalloc(int len);
@@ -594,7 +594,7 @@
}
for (i = 0; (i < stl_numintrs); i++)
- free_irq(stl_gotintrs[i]);
+ free_irq(stl_gotintrs[i], NULL);
restore_flags(flags);
}
@@ -1747,7 +1747,7 @@
* io region.
*/
-static void stl_intr(int irq, struct pt_regs *regs)
+static void stl_intr(int irq, void *dev_id, struct pt_regs *regs)
{
stlbrd_t *brdp;
stlpanel_t *panelp;
@@ -2364,7 +2364,7 @@
break;
}
if (i >= stl_numintrs) {
- if (request_irq(irq, stl_intr, SA_INTERRUPT, stl_drvname) != 0) {
+ if (request_irq(irq, stl_intr, SA_INTERRUPT, stl_drvname, NULL) != 0) {
printk("STALLION: failed to register interrupt routine for irq=%d\n", irq);
rc = -ENODEV;
} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this