patch-1.3.70 linux/drivers/scsi/ultrastor.c
Next file: linux/drivers/scsi/wd7000.c
Previous file: linux/drivers/scsi/u14-34f.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Fri Mar 1 07:50:54 1996
- Orig file:
v1.3.69/linux/drivers/scsi/ultrastor.c
- Orig date:
Thu Jan 4 21:54:56 1996
diff -u --recursive --new-file v1.3.69/linux/drivers/scsi/ultrastor.c linux/drivers/scsi/ultrastor.c
@@ -293,7 +293,7 @@
};
#endif
-static void ultrastor_interrupt(int, struct pt_regs *);
+static void ultrastor_interrupt(int, void *, struct pt_regs *);
static inline void build_sg_list(struct mscp *, Scsi_Cmnd *SCpnt);
@@ -507,7 +507,7 @@
config.mscp_free = ~0;
#endif
- if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor")) {
+ if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor", NULL)) {
printk("Unable to allocate IRQ%u for UltraStor controller.\n",
config.interrupt);
return FALSE;
@@ -515,7 +515,7 @@
if (config.dma_channel && request_dma(config.dma_channel,"Ultrastor")) {
printk("Unable to allocate DMA channel %u for UltraStor controller.\n",
config.dma_channel);
- free_irq(config.interrupt);
+ free_irq(config.interrupt, NULL);
return FALSE;
}
tpnt->sg_tablesize = ULTRASTOR_14F_MAX_SG;
@@ -577,7 +577,7 @@
printk("U24F: invalid IRQ\n");
return FALSE;
}
- if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor"))
+ if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor", NULL))
{
printk("Unable to allocate IRQ%u for UltraStor controller.\n",
config.interrupt);
@@ -1025,7 +1025,7 @@
return 0;
}
-static void ultrastor_interrupt(int irq, struct pt_regs *regs)
+static void ultrastor_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
unsigned int status;
#if ULTRASTOR_MAX_CMDS > 1
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