diff options
Diffstat (limited to 'drivers/scsi/aic7xxx_old.c')
-rw-r--r-- | drivers/scsi/aic7xxx_old.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c index 9e9d0c40187e..ee127e8aea55 100644 --- a/drivers/scsi/aic7xxx_old.c +++ b/drivers/scsi/aic7xxx_old.c | |||
@@ -10585,7 +10585,7 @@ aic7xxx_panic_abort(struct aic7xxx_host *p, Scsi_Cmnd *cmd) | |||
10585 | * Abort the current SCSI command(s). | 10585 | * Abort the current SCSI command(s). |
10586 | *-F*************************************************************************/ | 10586 | *-F*************************************************************************/ |
10587 | static int | 10587 | static int |
10588 | aic7xxx_abort(Scsi_Cmnd *cmd) | 10588 | __aic7xxx_abort(Scsi_Cmnd *cmd) |
10589 | { | 10589 | { |
10590 | struct aic7xxx_scb *scb = NULL; | 10590 | struct aic7xxx_scb *scb = NULL; |
10591 | struct aic7xxx_host *p; | 10591 | struct aic7xxx_host *p; |
@@ -10802,6 +10802,19 @@ success: | |||
10802 | return SUCCESS; | 10802 | return SUCCESS; |
10803 | } | 10803 | } |
10804 | 10804 | ||
10805 | static int | ||
10806 | aic7xxx_abort(Scsi_Cmnd *cmd) | ||
10807 | { | ||
10808 | int rc; | ||
10809 | |||
10810 | spin_lock_irq(cmd->device->host->host_lock); | ||
10811 | rc = __aic7xxx_abort(cmd); | ||
10812 | spin_unlock_irq(cmd->device->host->host_lock); | ||
10813 | |||
10814 | return rc; | ||
10815 | } | ||
10816 | |||
10817 | |||
10805 | /*+F************************************************************************* | 10818 | /*+F************************************************************************* |
10806 | * Function: | 10819 | * Function: |
10807 | * aic7xxx_reset | 10820 | * aic7xxx_reset |