diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-10-27 13:37:53 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:22:33 -0500 |
commit | a8adb83208020c913f010cb4e26d09e25300db8e (patch) | |
tree | 2245ca9f0dba5139946c99d45b80e7f2ce324b74 /drivers/scsi/lpfc/lpfc_hw.h | |
parent | 87af33fe5f78c27cf9e43c6e586dd6efd4be3e40 (diff) |
[SCSI] lpfc 8.2.3 : Miscellaneous Small Fixes - part 2
Miscellaneous Small Fixes - part 2
- Fix ndlp left in PLOGI state after link up
- Fix cannot rcv unsol ELS frames after running HBA resets for a few minutes
- Fix HBQ buffer_count implemention
- Fix RPI leak
- Fix crash while deleting vports while HBA is reset
- Revert the FCP Fbits offset back to 7
- Fix panic when deleting vports
- Remove unused code in switch statement outside of a case
- Reject PLOGI from invalid PName or NName of 0
- Ignore PLOGI responses from WWPName or WWNName of 0
- Fix debugfs hbqinfo display for ppc
- Added 8G to list of supported speeds for sysfs parameter
- Defer ndlp cleanup to dev-loss timeout handler
- Added support for WRITE_VPARMS mailbox command by applications
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h index b075d5956488..8635b9294640 100644 --- a/drivers/scsi/lpfc/lpfc_hw.h +++ b/drivers/scsi/lpfc/lpfc_hw.h | |||
@@ -153,11 +153,7 @@ struct lpfc_sli_ct_request { | |||
153 | struct gff_acc { | 153 | struct gff_acc { |
154 | uint8_t fbits[128]; | 154 | uint8_t fbits[128]; |
155 | } gff_acc; | 155 | } gff_acc; |
156 | #ifdef __BIG_ENDIAN_BITFIELD | ||
157 | #define FCP_TYPE_FEATURE_OFFSET 7 | 156 | #define FCP_TYPE_FEATURE_OFFSET 7 |
158 | #else /* __LITTLE_ENDIAN_BITFIELD */ | ||
159 | #define FCP_TYPE_FEATURE_OFFSET 4 | ||
160 | #endif | ||
161 | struct rff { | 157 | struct rff { |
162 | uint32_t PortId; | 158 | uint32_t PortId; |
163 | uint8_t reserved[2]; | 159 | uint8_t reserved[2]; |
@@ -1288,8 +1284,9 @@ typedef struct { /* FireFly BIU registers */ | |||
1288 | #define MBX_KILL_BOARD 0x24 | 1284 | #define MBX_KILL_BOARD 0x24 |
1289 | #define MBX_CONFIG_FARP 0x25 | 1285 | #define MBX_CONFIG_FARP 0x25 |
1290 | #define MBX_BEACON 0x2A | 1286 | #define MBX_BEACON 0x2A |
1291 | #define MBX_ASYNCEVT_ENABLE 0x33 | ||
1292 | #define MBX_HEARTBEAT 0x31 | 1287 | #define MBX_HEARTBEAT 0x31 |
1288 | #define MBX_WRITE_VPARMS 0x32 | ||
1289 | #define MBX_ASYNCEVT_ENABLE 0x33 | ||
1293 | 1290 | ||
1294 | #define MBX_CONFIG_HBQ 0x7C | 1291 | #define MBX_CONFIG_HBQ 0x7C |
1295 | #define MBX_LOAD_AREA 0x81 | 1292 | #define MBX_LOAD_AREA 0x81 |