diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-02-13 14:00:45 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 16:33:01 +0100 |
commit | 46801ba698b3366cf8d293d9f3d4253b6fd5210b (patch) | |
tree | d088dda7648b25ef7826ce2dd87064f116b55132 /drivers/scsi/qla4xxx/ql4_nx.h | |
parent | [SCSI] qla4xxx: Remove un-necessary print statment (diff) | |
download | linux-46801ba698b3366cf8d293d9f3d4253b6fd5210b.tar.xz linux-46801ba698b3366cf8d293d9f3d4253b6fd5210b.zip |
[SCSI] qla4xxx: Proper detection of firmware abort error code for ISP82xx
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.h b/drivers/scsi/qla4xxx/ql4_nx.h index dc45ac923691..dc7500e47b8b 100644 --- a/drivers/scsi/qla4xxx/ql4_nx.h +++ b/drivers/scsi/qla4xxx/ql4_nx.h @@ -623,6 +623,7 @@ struct crb_addr_pair { #define ADDR_ERROR ((unsigned long) 0xffffffff) #define MAX_CTL_CHECK 1000 +#define QLA82XX_FWERROR_CODE(code) ((code >> 8) & 0x1fffff) /*************************************************************************** * PCI related defines. |