diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-14 02:46:21 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-30 00:27:46 +0400 |
commit | 43ffdf4dfb827babcdca5345a76031598a985dc8 (patch) | |
tree | 54d7a506915bcc657e80dbee07523aad8a60e984 /drivers/scsi/bfa/bfi.h | |
parent | d37779f8d98a1d7c5ba904982958167d988f01dd (diff) | |
download | linux-43ffdf4dfb827babcdca5345a76031598a985dc8.tar.xz |
[SCSI] bfa: Add pbc port disable check and fix LPS message name
- Add PBC port Disabled condition check.
- Rename incorrectly named LPS I2H messages.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfi.h')
-rw-r--r-- | drivers/scsi/bfa/bfi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfi.h b/drivers/scsi/bfa/bfi.h index d57522dd949b..5b69d07af99c 100644 --- a/drivers/scsi/bfa/bfi.h +++ b/drivers/scsi/bfa/bfi.h @@ -50,7 +50,7 @@ struct bfi_mhdr_s { } mtag; }; -#define bfi_mhdr_2_qid(_mh) (_mh)->mtag.h2i.qid +#define bfi_mhdr_2_qid(_mh) ((_mh)->mtag.h2i.qid) #define bfi_h2i_set(_mh, _mc, _op, _lpuid) do { \ (_mh).msg_class = (_mc); \ @@ -411,6 +411,7 @@ union bfi_ioc_i2h_msg_u { #define BFI_PBC_MAX_BLUNS 8 #define BFI_PBC_MAX_VPORTS 16 +#define BFI_PBC_PORT_DISABLED 2 /* * PBC boot lun configuration |