aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hw.h
diff options
context:
space:
mode:
authorJames Smart <James.Smart@Emulex.Com>2008-01-11 01:52:54 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-23 12:29:22 -0500
commit0937282036d9ae798e02c9c69a8b2ef044048855 (patch)
tree55c8ef65c9c55e74e8985b58396516b3d3b925ad /drivers/scsi/lpfc/lpfc_hw.h
parent13815c8344a238c204e4f4339b22dc4833c6df0f (diff)
[SCSI] lpfc 8.2.4 : Miscellaneous Fixes
Miscellaneous Fixes: - Fix a couple of sparse complaints - Reset the FCP recovery flag when the node is not a FCP2 device. - Speed up offline prep delays - Fixed a memory leak in lpfc_mem_alloc failure path - Fixed external loopback test. - Fixed error code returned from the driver when HBA is over heated. - Correct Max NPIV vport to limits read from adapter - Add missing locks around fc_flag and FC_NEEDS_REG_VPI - Add missing hba ids for device identification - Added support for SET_VARIABLE and MBX_WRITE_WWN mailbox commands - Changed all temperature event messages from warning to error - Fix reporting of link speed when link is down - Added support for MBX_WRITE_WWN mailbox command - Change del_timer_sync() in ISR to del_timer() in interrupt handler - Correct instances of beXX_to_cpu() that should be cpu_to_beXX() - Perform target flush before releasing node references on module unload - Avoid bogus devloss_tmo messages when driver unloads - Fix panic when HBA generates ERATT interupt - Fix mbox race condition and a workaround on back-to-back mailbox commands - Force NPIV off for pt2pt mode between 2 NPorts - Stop worker thread before removing fc_host. - Fix up discovery timeout error case due to missing clear_la - Tighten mailbox polling code to speed up detection of fast completions - Only allow DUMP_MEMORY if adapter offline due to overtemp errors - Added extended error information to the log messages in chip init. 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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h
index b61e45a1310d..f78d23a3b667 100644
--- a/drivers/scsi/lpfc/lpfc_hw.h
+++ b/drivers/scsi/lpfc/lpfc_hw.h
@@ -1279,7 +1279,7 @@ typedef struct { /* FireFly BIU registers */
1279#define MBX_DEL_LD_ENTRY 0x1D 1279#define MBX_DEL_LD_ENTRY 0x1D
1280#define MBX_RUN_PROGRAM 0x1E 1280#define MBX_RUN_PROGRAM 0x1E
1281#define MBX_SET_MASK 0x20 1281#define MBX_SET_MASK 0x20
1282#define MBX_SET_SLIM 0x21 1282#define MBX_SET_VARIABLE 0x21
1283#define MBX_UNREG_D_ID 0x23 1283#define MBX_UNREG_D_ID 0x23
1284#define MBX_KILL_BOARD 0x24 1284#define MBX_KILL_BOARD 0x24
1285#define MBX_CONFIG_FARP 0x25 1285#define MBX_CONFIG_FARP 0x25
@@ -1301,7 +1301,7 @@ typedef struct { /* FireFly BIU registers */
1301#define MBX_REG_VNPID 0x96 1301#define MBX_REG_VNPID 0x96
1302#define MBX_UNREG_VNPID 0x97 1302#define MBX_UNREG_VNPID 0x97
1303 1303
1304#define MBX_FLASH_WR_ULA 0x98 1304#define MBX_WRITE_WWN 0x98
1305#define MBX_SET_DEBUG 0x99 1305#define MBX_SET_DEBUG 0x99
1306#define MBX_LOAD_EXP_ROM 0x9C 1306#define MBX_LOAD_EXP_ROM 0x9C
1307 1307
@@ -3227,6 +3227,8 @@ lpfc_is_LC_HBA(unsigned short device)
3227 (device == PCI_DEVICE_ID_BSMB) || 3227 (device == PCI_DEVICE_ID_BSMB) ||
3228 (device == PCI_DEVICE_ID_ZMID) || 3228 (device == PCI_DEVICE_ID_ZMID) ||
3229 (device == PCI_DEVICE_ID_ZSMB) || 3229 (device == PCI_DEVICE_ID_ZSMB) ||
3230 (device == PCI_DEVICE_ID_SAT_MID) ||
3231 (device == PCI_DEVICE_ID_SAT_SMB) ||
3230 (device == PCI_DEVICE_ID_RFLY)) 3232 (device == PCI_DEVICE_ID_RFLY))
3231 return 1; 3233 return 1;
3232 else 3234 else