summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfi.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2011-06-13 15:46:21 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 15:27:46 -0500
commit43ffdf4dfb827babcdca5345a76031598a985dc8 (patch)
tree54d7a506915bcc657e80dbee07523aad8a60e984 /drivers/scsi/bfa/bfi.h
parentd37779f8d98a1d7c5ba904982958167d988f01dd (diff)
downloadtalos-obmc-linux-43ffdf4dfb827babcdca5345a76031598a985dc8.tar.gz
talos-obmc-linux-43ffdf4dfb827babcdca5345a76031598a985dc8.zip
[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.h3
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
OpenPOWER on IntegriCloud