projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9afb9a
)
[SCSI] qla2xxx: Pass first 64 bytes of MBX information when vendor commands fail.
author
Giridhar Malavali
<
[email protected]
>
Fri, 3 Sep 2010 22:20:49 +0000
(15:20 -0700)
committer
James Bottomley
<
[email protected]
>
Sun, 5 Sep 2010 18:33:03 +0000
(15:33 -0300)
Signed-off-by: Giridhar Malavali <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/scsi/qla2xxx/qla_mbx.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_mbx.c
b/drivers/scsi/qla2xxx/qla_mbx.c
index 6009b0c69488144bf21715a2a8b03192fbac56ef..d0413d56887c7a4016ebf6a330c24e6fe859160e 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_mbx.c
+++ b/
drivers/scsi/qla2xxx/qla_mbx.c
@@
-3825,8
+3825,6
@@
qla2x00_loopback_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq,
/* Copy mailbox information */
memcpy( mresp, mcp->mb, 64);
- mresp[3] = mcp->mb[18];
- mresp[4] = mcp->mb[19];
return rval;
}
@@
-3887,9
+3885,10
@@
qla2x00_echo_test(scsi_qla_host_t *vha, struct msg_echo_lb *mreq,
}
/* Copy mailbox information */
- memcpy(
mresp, mcp->mb, 32
);
+ memcpy(
mresp, mcp->mb, 64
);
return rval;
}
+
int
qla84xx_reset_chip(scsi_qla_host_t *ha, uint16_t enable_diagnostic)
{