Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73120
b: refs/heads/master
c: 7e2b19f
h: refs/heads/master
v: v3
  • Loading branch information
James Smart authored and James Bottomley committed Nov 3, 2007
1 parent 1b96d46 commit 985022f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4e1608ef4b2ab4f6974fa351bb6c92e1de59aa7
refs/heads/master: 7e2b19fbc7b9c1fd8ee9c79b375fcedb69dd07c9
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/lpfc/lpfc_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd,
IOCB_t *iocb_cmd = &lpfc_cmd->cur_iocbq.iocb;
struct lpfc_iocbq *piocbq = &(lpfc_cmd->cur_iocbq);
int datadir = scsi_cmnd->sc_data_direction;
char tag[2];

lpfc_cmd->fcp_rsp->rspSnsLen = 0;
/* clear task management bits */
Expand All @@ -692,8 +693,8 @@ lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd,

memcpy(&fcp_cmnd->fcpCdb[0], scsi_cmnd->cmnd, 16);

if (scsi_cmnd->device->tagged_supported) {
switch (scsi_cmnd->tag) {
if (scsi_populate_tag_msg(scsi_cmnd, tag)) {
switch (tag[0]) {
case HEAD_OF_QUEUE_TAG:
fcp_cmnd->fcpCntl1 = HEAD_OF_Q;
break;
Expand Down

0 comments on commit 985022f

Please sign in to comment.