aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli.h
diff options
context:
space:
mode:
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>2005-10-28 20:29:28 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-29 11:19:52 -0400
commitf91b392c4d20fcd2684587c0a091123c0409959c (patch)
treed6ffb11b617930a5c518367c5d3dea84d560a406 /drivers/scsi/lpfc/lpfc_sli.h
parent09703d38d47d2b4ff769269ffe01c9aa340e3c8b (diff)
[SCSI] lpfc: Fix for "Unknown IOCB command Data: x0 x3 x0 x0"
Fix for "Unknown IOCB command Data: x0 x3 x0 x0" messages and inability to see devices On some platforms, the host-memory based ring mgmt area was not zero. Also, driver wasn't manipulating the entire 32bits of the ring pointers. Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.h b/drivers/scsi/lpfc/lpfc_sli.h
index 6c74f3c85ff7..2d5b0670415c 100644
--- a/drivers/scsi/lpfc/lpfc_sli.h
+++ b/drivers/scsi/lpfc/lpfc_sli.h
@@ -125,10 +125,10 @@ struct lpfc_sli_ring {
125 125
126 uint32_t local_getidx; /* last available cmd index (from cmdGetInx) */ 126 uint32_t local_getidx; /* last available cmd index (from cmdGetInx) */
127 uint32_t next_cmdidx; /* next_cmd index */ 127 uint32_t next_cmdidx; /* next_cmd index */
128 uint32_t rspidx; /* current index in response ring */
129 uint32_t cmdidx; /* current index in command ring */
128 uint8_t rsvd; 130 uint8_t rsvd;
129 uint8_t ringno; /* ring number */ 131 uint8_t ringno; /* ring number */
130 uint8_t rspidx; /* current index in response ring */
131 uint8_t cmdidx; /* current index in command ring */
132 uint16_t numCiocb; /* number of command iocb's per ring */ 132 uint16_t numCiocb; /* number of command iocb's per ring */
133 uint16_t numRiocb; /* number of rsp iocb's per ring */ 133 uint16_t numRiocb; /* number of rsp iocb's per ring */
134 134