aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_iocfc.h
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2010-07-08 22:45:56 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 13:04:04 -0400
commited96932470e4ca3aab29518a748dc1162853b456 (patch)
tree7585615e2cd952edbbd7c1bec1e414c699656ff3 /drivers/scsi/bfa/bfa_iocfc.h
parent293f82d59ed8b6d61d242e40ee7a6a146fae5eaa (diff)
[SCSI] bfa: enable basic PBC support
The patch includes the driver side changes to enable basic PBC (PreBoot Configuration) feature. - Data structure changes and new definitions for PBC. - APIs to access PBC info. - Remove unused code. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_iocfc.h')
-rw-r--r--drivers/scsi/bfa/bfa_iocfc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_iocfc.h b/drivers/scsi/bfa/bfa_iocfc.h
index fbb4bdc9d600..3ee9fe7a7967 100644
--- a/drivers/scsi/bfa/bfa_iocfc.h
+++ b/drivers/scsi/bfa/bfa_iocfc.h
@@ -116,7 +116,8 @@ struct bfa_iocfc_s {
116#define bfa_isr_mode_set(__bfa, __msix) \ 116#define bfa_isr_mode_set(__bfa, __msix) \
117 ((__bfa)->iocfc.hwif.hw_isr_mode_set(__bfa, __msix)) 117 ((__bfa)->iocfc.hwif.hw_isr_mode_set(__bfa, __msix))
118#define bfa_msix_getvecs(__bfa, __vecmap, __nvecs, __maxvec) \ 118#define bfa_msix_getvecs(__bfa, __vecmap, __nvecs, __maxvec) \
119 (__bfa)->iocfc.hwif.hw_msix_getvecs(__bfa, __vecmap, __nvecs, __maxvec) 119 ((__bfa)->iocfc.hwif.hw_msix_getvecs(__bfa, __vecmap, \
120 __nvecs, __maxvec))
120 121
121/* 122/*
122 * FC specific IOC functions. 123 * FC specific IOC functions.
@@ -166,6 +167,8 @@ void bfa_com_meminfo(bfa_boolean_t mincfg, u32 *dm_len);
166void bfa_com_attach(struct bfa_s *bfa, struct bfa_meminfo_s *mi, 167void bfa_com_attach(struct bfa_s *bfa, struct bfa_meminfo_s *mi,
167 bfa_boolean_t mincfg); 168 bfa_boolean_t mincfg);
168void bfa_iocfc_get_bootwwns(struct bfa_s *bfa, u8 *nwwns, wwn_t **wwns); 169void bfa_iocfc_get_bootwwns(struct bfa_s *bfa, u8 *nwwns, wwn_t **wwns);
170void bfa_iocfc_get_pbc_boot_cfg(struct bfa_s *bfa,
171 struct bfa_boot_pbc_s *pbcfg);
169 172
170#endif /* __BFA_IOCFC_H__ */ 173#endif /* __BFA_IOCFC_H__ */
171 174