diff options
author | James.Smart@Emulex.Com <James.Smart@Emulex.Com> | 2005-06-25 10:34:00 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-02 17:58:16 -0400 |
commit | 4cc2da1d84eeddb9e9259e61efd58691399434b2 (patch) | |
tree | 74f71238d64cc41153e1015ddcc8a8b5982e7714 /drivers/scsi/lpfc/lpfc_hw.h | |
parent | 6e3815ba3a6d392fa9cfbf08208f64c06d9558c4 (diff) |
[SCSI] lpfc: hgp/pgp cleanups
From: Christoph Hellwig <hch@lst.de>:
- rename PGP/HPH to lpfc_pgp/lpfc_hgp
- use __le32 types for the members to start fixing sparse -Wbitwise
issues
- remove lpfc_sli.MBhostaddr, we can always use the pointer from
SLI2_DESC directly
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_hw.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw.h | 20 |
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 | ||
2217 | typedef struct { | 2217 | struct lpfc_hgp { |
2218 | uint32_t cmdPutInx; | 2218 | __le32 cmdPutInx; |
2219 | uint32_t rspGetInx; | 2219 | __le32 rspGetInx; |
2220 | } HGP; | 2220 | }; |
2221 | 2221 | ||
2222 | typedef struct { | 2222 | struct lpfc_pgp { |
2223 | uint32_t cmdGetInx; | 2223 | __le32 cmdGetInx; |
2224 | uint32_t rspPutInx; | 2224 | __le32 rspPutInx; |
2225 | } PGP; | 2225 | }; |
2226 | 2226 | ||
2227 | typedef struct _SLI2_DESC { | 2227 | typedef 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 | ||
2233 | typedef union { | 2233 | typedef union { |