diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2009-10-23 02:23:49 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:00:39 -0500 |
commit | 35e6601903fc41e48e9b6722a49cc5acc7065c51 (patch) | |
tree | 36a2d144643c6c2aee9d5e4e6590f26c54c6a486 /drivers/scsi/be2iscsi/be_cmds.c | |
parent | bfead3b2cb4607c71831423c3ee97d22cd0c9dcb (diff) |
[SCSI] be2iscsi: Adding Ring Mode Wrb's V3
This patch adds support for ring based wrbs
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_cmds.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c index 10f8fe7a38d2..698a527d6cca 100644 --- a/drivers/scsi/be2iscsi/be_cmds.c +++ b/drivers/scsi/be2iscsi/be_cmds.c | |||
@@ -125,7 +125,7 @@ static void beiscsi_cq_notify(struct beiscsi_hba *phba, u16 qid, bool arm, | |||
125 | } | 125 | } |
126 | 126 | ||
127 | 127 | ||
128 | int be_process_mcc(struct beiscsi_hba *phba) | 128 | int beiscsi_process_mcc(struct beiscsi_hba *phba) |
129 | { | 129 | { |
130 | struct be_mcc_compl *compl; | 130 | struct be_mcc_compl *compl; |
131 | int num = 0, status = 0; | 131 | int num = 0, status = 0; |
@@ -161,7 +161,7 @@ static int be_mcc_wait_compl(struct beiscsi_hba *phba) | |||
161 | #define mcc_timeout 120000 /* 5s timeout */ | 161 | #define mcc_timeout 120000 /* 5s timeout */ |
162 | int i, status; | 162 | int i, status; |
163 | for (i = 0; i < mcc_timeout; i++) { | 163 | for (i = 0; i < mcc_timeout; i++) { |
164 | status = be_process_mcc(phba); | 164 | status = beiscsi_process_mcc(phba); |
165 | if (status) | 165 | if (status) |
166 | return status; | 166 | return status; |
167 | 167 | ||
@@ -504,7 +504,7 @@ static u32 be_encoded_q_len(int q_len) | |||
504 | return len_encoded; | 504 | return len_encoded; |
505 | } | 505 | } |
506 | 506 | ||
507 | int be_cmd_mccq_create(struct beiscsi_hba *phba, | 507 | int beiscsi_cmd_mccq_create(struct beiscsi_hba *phba, |
508 | struct be_queue_info *mccq, | 508 | struct be_queue_info *mccq, |
509 | struct be_queue_info *cq) | 509 | struct be_queue_info *cq) |
510 | { | 510 | { |