aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli.h
diff options
context:
space:
mode:
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>2005-10-28 20:29:47 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-29 11:29:09 -0400
commit68876920f442912c94f749bc337c888696cb9ed0 (patch)
tree12fe1c63be2fedad13706b4b14d46c90c94cce49 /drivers/scsi/lpfc/lpfc_sli.h
parent604a3e3042eb89ffaa4f735ef9208281aae786c7 (diff)
[SCSI] lpfc: Replace lpfc_sli_issue_iocb_wait_high_priority
Replace lpfc_sli_issue_iocb_wait_high_priority with lpfc_sli_issue_iocb_wait. Simplify code paths, as there really wasn't a "priority" Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.h b/drivers/scsi/lpfc/lpfc_sli.h
index 5d8911de4faa..9f1b85bed5a7 100644
--- a/drivers/scsi/lpfc/lpfc_sli.h
+++ b/drivers/scsi/lpfc/lpfc_sli.h
@@ -39,10 +39,8 @@ struct lpfc_iocbq {
39 IOCB_t iocb; /* IOCB cmd */ 39 IOCB_t iocb; /* IOCB cmd */
40 uint8_t retry; /* retry counter for IOCB cmd - if needed */ 40 uint8_t retry; /* retry counter for IOCB cmd - if needed */
41 uint8_t iocb_flag; 41 uint8_t iocb_flag;
42#define LPFC_IO_POLL 1 /* Polling mode iocb */ 42#define LPFC_IO_LIBDFC 1 /* libdfc iocb */
43#define LPFC_IO_LIBDFC 2 /* libdfc iocb */ 43#define LPFC_IO_WAKE 2 /* High Priority Queue signal flag */
44#define LPFC_IO_WAIT 4
45#define LPFC_IO_HIPRI 8 /* High Priority Queue signal flag */
46 44
47 uint8_t abort_count; 45 uint8_t abort_count;
48 uint8_t rsvd2; 46 uint8_t rsvd2;
@@ -51,8 +49,7 @@ struct lpfc_iocbq {
51 void *context2; /* caller context information */ 49 void *context2; /* caller context information */
52 void *context3; /* caller context information */ 50 void *context3; /* caller context information */
53 union { 51 union {
54 wait_queue_head_t *hipri_wait_queue; /* High Priority Queue wait 52 wait_queue_head_t *wait_queue;
55 queue */
56 struct lpfc_iocbq *rsp_iocb; 53 struct lpfc_iocbq *rsp_iocb;
57 struct lpfcMboxq *mbox; 54 struct lpfcMboxq *mbox;
58 } context_un; 55 } context_un;