aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_hw.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h
index fc958a99dadb..3f05b6890214 100644
--- a/drivers/scsi/lpfc/lpfc_hw.h
+++ b/drivers/scsi/lpfc/lpfc_hw.h
@@ -2214,20 +2214,20 @@ typedef union {
2214 * SLI-2 specific structures 2214 * SLI-2 specific structures
2215 */ 2215 */
2216 2216
2217typedef struct { 2217struct lpfc_hgp {
2218 uint32_t cmdPutInx; 2218 __le32 cmdPutInx;
2219 uint32_t rspGetInx; 2219 __le32 rspGetInx;
2220} HGP; 2220};
2221 2221
2222typedef struct { 2222struct lpfc_pgp {
2223 uint32_t cmdGetInx; 2223 __le32 cmdGetInx;
2224 uint32_t rspPutInx; 2224 __le32 rspPutInx;
2225} PGP; 2225};
2226 2226
2227typedef struct _SLI2_DESC { 2227typedef struct _SLI2_DESC {
2228 HGP host[MAX_RINGS]; 2228 struct lpfc_hgp host[MAX_RINGS];
2229 uint32_t unused1[16]; 2229 uint32_t unused1[16];
2230 PGP port[MAX_RINGS]; 2230 struct lpfc_pgp port[MAX_RINGS];
2231} SLI2_DESC; 2231} SLI2_DESC;
2232 2232
2233typedef union { 2233typedef union {