summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic79xx_osm.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2006-03-08 12:56:14 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 09:01:13 -0600
commit7b22da38b64a32df20fdb7272deb7546045fccec (patch)
treedf26d10b480b9da5e68397ad4d8c12a2e5c59fec /drivers/scsi/aic7xxx/aic79xx_osm.h
parenta382dd7c13377c8ff98f6ec59f64355653fb507e (diff)
downloadtalos-obmc-linux-7b22da38b64a32df20fdb7272deb7546045fccec.tar.gz
talos-obmc-linux-7b22da38b64a32df20fdb7272deb7546045fccec.zip
[SCSI] aic79xx: remove qfrozen
This patch removes the need for platform_data->qfrozen. We're now using complete() instead of semaphores thus simplifying ahd_freeze_simq() quite a lot. This also fixes some deadlocks in the recovery code (again). Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.h')
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_osm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h
index 9cb101345107..599e3940db16 100644
--- a/drivers/scsi/aic7xxx/aic79xx_osm.h
+++ b/drivers/scsi/aic7xxx/aic79xx_osm.h
@@ -381,15 +381,12 @@ struct ahd_platform_data {
struct scsi_target *starget[AHD_NUM_TARGETS];
spinlock_t spin_lock;
- u_int qfrozen;
- struct semaphore eh_sem;
+ struct completion *eh_done;
struct Scsi_Host *host; /* pointer to scsi host */
#define AHD_LINUX_NOIRQ ((uint32_t)~0)
uint32_t irq; /* IRQ for this adapter */
uint32_t bios_address;
uint32_t mem_busaddr; /* Mem Base Addr */
-#define AHD_SCB_UP_EH_SEM 0x1
- uint32_t flags;
};
/************************** OS Utility Wrappers *******************************/
OpenPOWER on IntegriCloud