aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorMarcus Barrow <marcus.barrow@qlogic.com>2008-01-17 12:02:13 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-23 12:29:31 -0500
commit0b05a1f0d68bf4714c37aa7843c31df1866b017a (patch)
treee228b6fc9b9afabad5c22bd693159a2eb1e003e7 /drivers/scsi/qla2xxx/qla_def.h
parenta4722cf24d7a0dfa0874d49f61b053a6459761bf (diff)
[SCSI] qla2xxx: Use completion routines.
Instead of abusing the semaphore interfaces for mailbox command completions. Additional cleanups and Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index d0b78af60f7b..144f6d04f3d1 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2413,9 +2413,9 @@ typedef struct scsi_qla_host {
2413#define MBX_INTR_WAIT 2 2413#define MBX_INTR_WAIT 2
2414#define MBX_UPDATE_FLASH_ACTIVE 3 2414#define MBX_UPDATE_FLASH_ACTIVE 3
2415 2415
2416 struct semaphore mbx_cmd_sem; /* Serialialize mbx access */
2417 struct semaphore vport_sem; /* Virtual port synchronization */ 2416 struct semaphore vport_sem; /* Virtual port synchronization */
2418 struct semaphore mbx_intr_sem; /* Used for completion notification */ 2417 struct completion mbx_cmd_comp; /* Serialize mbx access */
2418 struct completion mbx_intr_comp; /* Used for completion notification */
2419 2419
2420 uint32_t mbx_flags; 2420 uint32_t mbx_flags;
2421#define MBX_IN_PROGRESS BIT_0 2421#define MBX_IN_PROGRESS BIT_0