summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_nx.h
diff options
context:
space:
mode:
authorGiridhar Malavali <giridhar.malavali@qlogic.com>2012-01-11 02:44:16 -0800
committerJames Bottomley <JBottomley@Parallels.com>2012-01-16 12:32:08 +0400
commite6bd0ebd4a8ba9118e970c0214e912e35895c92b (patch)
tree9d2283459f996e7e578699a80fca29e8854209ea /drivers/scsi/qla4xxx/ql4_nx.h
parent4f77083ed0325ceb9cd5701c0f335583df3dded2 (diff)
downloadblackbird-op-linux-e6bd0ebd4a8ba9118e970c0214e912e35895c92b.tar.gz
blackbird-op-linux-e6bd0ebd4a8ba9118e970c0214e912e35895c92b.zip
[SCSI] qla4xxx: Disable generating pause frames in case of FW hung
In case of FW hung ISP82xx generates continuous pause frames which causes switch to disable port. Added fix to disable generating pause frames in case of FW hung Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.h')
-rw-r--r--drivers/scsi/qla4xxx/ql4_nx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.h b/drivers/scsi/qla4xxx/ql4_nx.h
index cfb2f2edac3a..dc45ac923691 100644
--- a/drivers/scsi/qla4xxx/ql4_nx.h
+++ b/drivers/scsi/qla4xxx/ql4_nx.h
@@ -39,6 +39,9 @@ enum {
QLA82XX_TEMP_PANIC /* Fatal error, hardware has shut down. */
};
+#define CRB_NIU_XG_PAUSE_CTL_P0 0x1
+#define CRB_NIU_XG_PAUSE_CTL_P1 0x8
+
#define QLA82XX_HW_H0_CH_HUB_ADR 0x05
#define QLA82XX_HW_H1_CH_HUB_ADR 0x0E
#define QLA82XX_HW_H2_CH_HUB_ADR 0x03
OpenPOWER on IntegriCloud