aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2011-02-16 12:40:06 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-18 16:36:33 -0500
commit2a622bfbe1d95664ecd4bc1cfe6dacf4788dfc10 (patch)
tree25d1bb419a3036612fe4967309804a2ec4c6a195 /drivers/scsi/lpfc/lpfc_sli.c
parentab56dc2e1d32556971e0729b3a6c37e0ff3104a6 (diff)
[SCSI] lpfc 8.3.21: Debugfs additions
- Add the driver debugfs framework for supporting debugfs read and write operations, and iDiag command structure. - Add read and write to SLI4 device PCI config space registers. - Add the driver support of debugfs PCI config space register bits set/clear methods to the provided bitmask. - Add iDiag driver support for SLI4 device queue diagnostic. Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index b85c40e3bf55..2ee0374a9908 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -10471,6 +10471,7 @@ lpfc_cq_create(struct lpfc_hba *phba, struct lpfc_queue *cq,
10471 cq->type = type; 10471 cq->type = type;
10472 cq->subtype = subtype; 10472 cq->subtype = subtype;
10473 cq->queue_id = bf_get(lpfc_mbx_cq_create_q_id, &cq_create->u.response); 10473 cq->queue_id = bf_get(lpfc_mbx_cq_create_q_id, &cq_create->u.response);
10474 cq->assoc_qid = eq->queue_id;
10474 cq->host_index = 0; 10475 cq->host_index = 0;
10475 cq->hba_index = 0; 10476 cq->hba_index = 0;
10476 10477
@@ -10665,6 +10666,7 @@ lpfc_mq_create(struct lpfc_hba *phba, struct lpfc_queue *mq,
10665 goto out; 10666 goto out;
10666 } 10667 }
10667 mq->type = LPFC_MQ; 10668 mq->type = LPFC_MQ;
10669 mq->assoc_qid = cq->queue_id;
10668 mq->subtype = subtype; 10670 mq->subtype = subtype;
10669 mq->host_index = 0; 10671 mq->host_index = 0;
10670 mq->hba_index = 0; 10672 mq->hba_index = 0;
@@ -10752,6 +10754,7 @@ lpfc_wq_create(struct lpfc_hba *phba, struct lpfc_queue *wq,
10752 goto out; 10754 goto out;
10753 } 10755 }
10754 wq->type = LPFC_WQ; 10756 wq->type = LPFC_WQ;
10757 wq->assoc_qid = cq->queue_id;
10755 wq->subtype = subtype; 10758 wq->subtype = subtype;
10756 wq->host_index = 0; 10759 wq->host_index = 0;
10757 wq->hba_index = 0; 10760 wq->hba_index = 0;
@@ -10869,6 +10872,7 @@ lpfc_rq_create(struct lpfc_hba *phba, struct lpfc_queue *hrq,
10869 goto out; 10872 goto out;
10870 } 10873 }
10871 hrq->type = LPFC_HRQ; 10874 hrq->type = LPFC_HRQ;
10875 hrq->assoc_qid = cq->queue_id;
10872 hrq->subtype = subtype; 10876 hrq->subtype = subtype;
10873 hrq->host_index = 0; 10877 hrq->host_index = 0;
10874 hrq->hba_index = 0; 10878 hrq->hba_index = 0;
@@ -10929,6 +10933,7 @@ lpfc_rq_create(struct lpfc_hba *phba, struct lpfc_queue *hrq,
10929 goto out; 10933 goto out;
10930 } 10934 }
10931 drq->type = LPFC_DRQ; 10935 drq->type = LPFC_DRQ;
10936 drq->assoc_qid = cq->queue_id;
10932 drq->subtype = subtype; 10937 drq->subtype = subtype;
10933 drq->host_index = 0; 10938 drq->host_index = 0;
10934 drq->hba_index = 0; 10939 drq->hba_index = 0;