diff options
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcxp.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_fcxp.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/scsi/bfa/bfa_fcxp.c b/drivers/scsi/bfa/bfa_fcxp.c index cf0ad6782686..8258f88bfee6 100644 --- a/drivers/scsi/bfa/bfa_fcxp.c +++ b/drivers/scsi/bfa/bfa_fcxp.c | |||
@@ -149,11 +149,6 @@ bfa_fcxp_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, | |||
149 | } | 149 | } |
150 | 150 | ||
151 | static void | 151 | static void |
152 | bfa_fcxp_initdone(struct bfa_s *bfa) | ||
153 | { | ||
154 | } | ||
155 | |||
156 | static void | ||
157 | bfa_fcxp_detach(struct bfa_s *bfa) | 152 | bfa_fcxp_detach(struct bfa_s *bfa) |
158 | { | 153 | { |
159 | } | 154 | } |
@@ -225,7 +220,7 @@ bfa_fcxp_null_comp(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg, | |||
225 | bfa_status_t req_status, u32 rsp_len, | 220 | bfa_status_t req_status, u32 rsp_len, |
226 | u32 resid_len, struct fchs_s *rsp_fchs) | 221 | u32 resid_len, struct fchs_s *rsp_fchs) |
227 | { | 222 | { |
228 | /**discarded fcxp completion */ | 223 | /* discarded fcxp completion */ |
229 | } | 224 | } |
230 | 225 | ||
231 | static void | 226 | static void |
@@ -527,11 +522,8 @@ bfa_fcxp_alloc(void *caller, struct bfa_s *bfa, int nreq_sgles, | |||
527 | if (nreq_sgles > BFI_SGE_INLINE) { | 522 | if (nreq_sgles > BFI_SGE_INLINE) { |
528 | nreq_sgpg = BFA_SGPG_NPAGE(nreq_sgles); | 523 | nreq_sgpg = BFA_SGPG_NPAGE(nreq_sgles); |
529 | 524 | ||
530 | if (bfa_sgpg_malloc | 525 | if (bfa_sgpg_malloc(bfa, &fcxp->req_sgpg_q, nreq_sgpg) |
531 | (bfa, &fcxp->req_sgpg_q, nreq_sgpg) | ||
532 | != BFA_STATUS_OK) { | 526 | != BFA_STATUS_OK) { |
533 | /* bfa_sgpg_wait(bfa, &fcxp->req_sgpg_wqe, | ||
534 | nreq_sgpg); */ | ||
535 | /* | 527 | /* |
536 | * TODO | 528 | * TODO |
537 | */ | 529 | */ |
@@ -685,7 +677,7 @@ bfa_fcxp_send(struct bfa_fcxp_s *fcxp, struct bfa_rport_s *rport, | |||
685 | fcxp->send_cbarg = cbarg; | 677 | fcxp->send_cbarg = cbarg; |
686 | 678 | ||
687 | /** | 679 | /** |
688 | * If no room in CPE queue, wait for | 680 | * If no room in CPE queue, wait for space in request queue |
689 | */ | 681 | */ |
690 | send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); | 682 | send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP); |
691 | if (!send_req) { | 683 | if (!send_req) { |