diff options
author | Jing Huang <huangj@brocade.com> | 2010-07-08 22:46:26 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:04:04 -0400 |
commit | d9883548a0b0afec4786e6c5cd8d03d43a30b779 (patch) | |
tree | d7ec50fa682ef49063c80f8d77ca85a4fa38b052 /drivers/scsi/bfa/bfa_iocfc.h | |
parent | ed96932470e4ca3aab29518a748dc1162853b456 (diff) |
[SCSI] bfa: PBC vport create
This patch enables creating PBC vport.
During fcs init, fcs will read PBC vport using bfa iocfc API and invoke fcb
callback to add the pbc vport entries into a list. The pbc vport list will be
traversed in the subsequent pci probe process and vport will be created using
fc transport provided vport create function.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_iocfc.h b/drivers/scsi/bfa/bfa_iocfc.h index 3ee9fe7a7967..a08309fb981d 100644 --- a/drivers/scsi/bfa/bfa_iocfc.h +++ b/drivers/scsi/bfa/bfa_iocfc.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <bfa_ioc.h> | 21 | #include <bfa_ioc.h> |
22 | #include <bfa.h> | 22 | #include <bfa.h> |
23 | #include <bfi/bfi_iocfc.h> | 23 | #include <bfi/bfi_iocfc.h> |
24 | #include <bfi/bfi_pbc.h> | ||
24 | #include <bfa_callback_priv.h> | 25 | #include <bfa_callback_priv.h> |
25 | 26 | ||
26 | #define BFA_REQQ_NELEMS_MIN (4) | 27 | #define BFA_REQQ_NELEMS_MIN (4) |
@@ -169,6 +170,8 @@ void bfa_com_attach(struct bfa_s *bfa, struct bfa_meminfo_s *mi, | |||
169 | void bfa_iocfc_get_bootwwns(struct bfa_s *bfa, u8 *nwwns, wwn_t **wwns); | 170 | void bfa_iocfc_get_bootwwns(struct bfa_s *bfa, u8 *nwwns, wwn_t **wwns); |
170 | void bfa_iocfc_get_pbc_boot_cfg(struct bfa_s *bfa, | 171 | void bfa_iocfc_get_pbc_boot_cfg(struct bfa_s *bfa, |
171 | struct bfa_boot_pbc_s *pbcfg); | 172 | struct bfa_boot_pbc_s *pbcfg); |
173 | int bfa_iocfc_get_pbc_vports(struct bfa_s *bfa, | ||
174 | struct bfi_pbc_vport_s *pbc_vport); | ||
172 | 175 | ||
173 | #endif /* __BFA_IOCFC_H__ */ | 176 | #endif /* __BFA_IOCFC_H__ */ |
174 | 177 | ||