patch-1.3.70 linux/drivers/scsi/NCR53c406a.c
Next file: linux/drivers/scsi/advansys.c
Previous file: linux/drivers/scsi/NCR5380.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Mar 1 07:50:51 1996
- Orig file:
v1.3.69/linux/drivers/scsi/NCR53c406a.c
- Orig date:
Wed Feb 14 14:37:12 1996
diff -u --recursive --new-file v1.3.69/linux/drivers/scsi/NCR53c406a.c linux/drivers/scsi/NCR53c406a.c
@@ -169,7 +169,7 @@
};
/* Static function prototypes */
-static void NCR53c406a_intr(int, struct pt_regs *);
+static void NCR53c406a_intr(int, void *, struct pt_regs *);
static void internal_done(Scsi_Cmnd *);
static void wait_intr(void);
static void chip_init(void);
@@ -537,7 +537,7 @@
request_region(port_base, 0x10, "NCR53c406a");
if(irq_level > 0) {
- if(request_irq(irq_level, NCR53c406a_intr, 0, "NCR53c406a")){
+ if(request_irq(irq_level, NCR53c406a_intr, 0, "NCR53c406a", NULL)){
printk("NCR53c406a: unable to allocate IRQ %d\n", irq_level);
return 0;
}
@@ -664,7 +664,7 @@
return;
}
- NCR53c406a_intr(0, NULL);
+ NCR53c406a_intr(0, NULL, NULL);
}
int NCR53c406a_command(Scsi_Cmnd *SCpnt){
@@ -763,7 +763,7 @@
}
static void
-NCR53c406a_intr(int unused, struct pt_regs *regs){
+NCR53c406a_intr(int unused, void *dev_id, struct pt_regs *regs){
DEB(unsigned char fifo_size;)
DEB(unsigned char seq_reg;)
unsigned char status, int_reg;
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