diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
commit | 4ad99f15c6a3cadf36928c399459ea4fdb3d49f9 (patch) | |
tree | d0536e4da737900fa27b235f175a3d179d692200 /drivers/scsi/psi240i.c | |
parent | 46767aeba58ca9357a2309765201bad38d8f5e9b (diff) | |
parent | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (diff) |
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'drivers/scsi/psi240i.c')
-rw-r--r-- | drivers/scsi/psi240i.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/psi240i.c b/drivers/scsi/psi240i.c index 5c2cdf523c3b..a720c9265e66 100644 --- a/drivers/scsi/psi240i.c +++ b/drivers/scsi/psi240i.c | |||
@@ -247,12 +247,11 @@ static ULONG DecodeError (struct Scsi_Host *pshost, UCHAR status) | |||
247 | * | 247 | * |
248 | * Parameters: irq - Hardware IRQ number. | 248 | * Parameters: irq - Hardware IRQ number. |
249 | * dev_id - | 249 | * dev_id - |
250 | * regs - | ||
251 | * | 250 | * |
252 | * Returns: TRUE if drive is not ready in time. | 251 | * Returns: TRUE if drive is not ready in time. |
253 | * | 252 | * |
254 | ****************************************************************/ | 253 | ****************************************************************/ |
255 | static void Irq_Handler (int irq, void *dev_id, struct pt_regs *regs) | 254 | static void Irq_Handler (int irq, void *dev_id) |
256 | { | 255 | { |
257 | struct Scsi_Host *shost; // Pointer to host data block | 256 | struct Scsi_Host *shost; // Pointer to host data block |
258 | PADAPTER240I padapter; // Pointer to adapter control structure | 257 | PADAPTER240I padapter; // Pointer to adapter control structure |
@@ -368,13 +367,13 @@ irqerror:; | |||
368 | SCpnt->scsi_done (SCpnt); | 367 | SCpnt->scsi_done (SCpnt); |
369 | } | 368 | } |
370 | 369 | ||
371 | static irqreturn_t do_Irq_Handler (int irq, void *dev_id, struct pt_regs *regs) | 370 | static irqreturn_t do_Irq_Handler (int irq, void *dev_id) |
372 | { | 371 | { |
373 | unsigned long flags; | 372 | unsigned long flags; |
374 | struct Scsi_Host *dev = dev_id; | 373 | struct Scsi_Host *dev = dev_id; |
375 | 374 | ||
376 | spin_lock_irqsave(dev->host_lock, flags); | 375 | spin_lock_irqsave(dev->host_lock, flags); |
377 | Irq_Handler(irq, dev_id, regs); | 376 | Irq_Handler(irq, dev_id); |
378 | spin_unlock_irqrestore(dev->host_lock, flags); | 377 | spin_unlock_irqrestore(dev->host_lock, flags); |
379 | return IRQ_HANDLED; | 378 | return IRQ_HANDLED; |
380 | } | 379 | } |