aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfi.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2011-06-13 18:46:21 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 16:27:46 -0400
commit43ffdf4dfb827babcdca5345a76031598a985dc8 (patch)
tree54d7a506915bcc657e80dbee07523aad8a60e984 /drivers/scsi/bfa/bfi.h
parentd37779f8d98a1d7c5ba904982958167d988f01dd (diff)
[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 {
50 } mtag; 50 } mtag;
51}; 51};
52 52
53#define bfi_mhdr_2_qid(_mh) (_mh)->mtag.h2i.qid 53#define bfi_mhdr_2_qid(_mh) ((_mh)->mtag.h2i.qid)
54 54
55#define bfi_h2i_set(_mh, _mc, _op, _lpuid) do { \ 55#define bfi_h2i_set(_mh, _mc, _op, _lpuid) do { \
56 (_mh).msg_class = (_mc); \ 56 (_mh).msg_class = (_mc); \
@@ -411,6 +411,7 @@ union bfi_ioc_i2h_msg_u {
411 411
412#define BFI_PBC_MAX_BLUNS 8 412#define BFI_PBC_MAX_BLUNS 8
413#define BFI_PBC_MAX_VPORTS 16 413#define BFI_PBC_MAX_VPORTS 16
414#define BFI_PBC_PORT_DISABLED 2
414 415
415/* 416/*
416 * PBC boot lun configuration 417 * PBC boot lun configuration