patch-1.3.70 linux/drivers/scsi/NCR5380.c
Next file: linux/drivers/scsi/NCR5380.h
Previous file: linux/drivers/scsi/BusLogic.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Mar 1 07:50:50 1996
- Orig file:
v1.3.69/linux/drivers/scsi/NCR5380.c
- Orig date:
Wed Feb 14 14:37:12 1996
diff -u --recursive --new-file v1.3.69/linux/drivers/scsi/NCR5380.c linux/drivers/scsi/NCR5380.c
@@ -616,7 +616,7 @@
static int probe_irq;
-static void probe_intr (int irq, struct pt_regs * regs) {
+static void probe_intr (int irq, void *dev_id, struct pt_regs * regs) {
probe_irq = irq;
};
@@ -629,7 +629,7 @@
NCR5380_setup(instance);
for (trying_irqs = i = 0, mask = 1; i < 16; ++i, mask <<= 1)
- if ((mask & possible) && (request_irq(i, &probe_intr, SA_INTERRUPT, "NCR-probe")
+ if ((mask & possible) && (request_irq(i, &probe_intr, SA_INTERRUPT, "NCR-probe", NULL)
== 0))
trying_irqs |= mask;
@@ -660,7 +660,7 @@
for (i = 0, mask = 1; i < 16; ++i, mask <<= 1)
if (trying_irqs & mask)
- free_irq(i);
+ free_irq(i, NULL);
return probe_irq;
}
@@ -1123,7 +1123,7 @@
*
*/
-static void NCR5380_intr (int irq, struct pt_regs * regs) {
+static void NCR5380_intr (int irq, void *dev_id, struct pt_regs * regs) {
NCR5380_local_declare();
struct Scsi_Host *instance;
int done;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this