diff options
author | Hannes Reinecke <hare@suse.de> | 2006-01-30 10:10:31 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-31 15:39:50 -0500 |
commit | eb221849540b7f4165c58b6c79d98b97ac902fdb (patch) | |
tree | 606f04871288b2b062f52fe2804e9320aa924644 /drivers/scsi/aic7xxx/aic79xx_core.c | |
parent | d60256b1b3ceb79cb06a5dd5e259b23bd27d4c61 (diff) |
[SCSI] aic79xx: Fix timer handling
Fix the timer handling in aic79xx to use the SCSI-ML provided handling
instead of implementing our own.
It also fixes a deadlock in the command recovery code.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_core.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c index 6114b3e72caa..342f77966a5b 100644 --- a/drivers/scsi/aic7xxx/aic79xx_core.c +++ b/drivers/scsi/aic7xxx/aic79xx_core.c | |||
@@ -8273,11 +8273,6 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) | |||
8273 | ahd_setup_data_scb(ahd, scb); | 8273 | ahd_setup_data_scb(ahd, scb); |
8274 | scb->flags |= SCB_SENSE; | 8274 | scb->flags |= SCB_SENSE; |
8275 | ahd_queue_scb(ahd, scb); | 8275 | ahd_queue_scb(ahd, scb); |
8276 | /* | ||
8277 | * Ensure we have enough time to actually | ||
8278 | * retrieve the sense. | ||
8279 | */ | ||
8280 | ahd_scb_timer_reset(scb, 5 * 1000000); | ||
8281 | break; | 8276 | break; |
8282 | } | 8277 | } |
8283 | case SCSI_STATUS_OK: | 8278 | case SCSI_STATUS_OK: |