aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/ns.c
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2010-07-08 22:48:12 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 13:04:06 -0400
commit15b64a835def4c784c6e62ad762677f5cb56eba2 (patch)
tree0d6ca06f6472c2bb71d254dbbc255ea6f18f8988 /drivers/scsi/bfa/ns.c
parent1769f990fc182695bc215ce4369688064addcd1e (diff)
[SCSI] bfa: ioc attributes fix
This patch fixes the APIs to obtain ioc attributes - fix API to obtain wwpn, wwnn, and mac. - add API to get mfg wwpn, wwnn, and mac. - fix API to obtain wwn of boot target. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/ns.c')
-rw-r--r--drivers/scsi/bfa/ns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/ns.c b/drivers/scsi/bfa/ns.c
index d20dd7e15742..2d6d2d6ff8dc 100644
--- a/drivers/scsi/bfa/ns.c
+++ b/drivers/scsi/bfa/ns.c
@@ -1228,10 +1228,10 @@ bfa_fcs_port_ns_boot_target_disc(struct bfa_fcs_port_s *port)
1228 1228
1229 struct bfa_fcs_rport_s *rport; 1229 struct bfa_fcs_rport_s *rport;
1230 u8 nwwns; 1230 u8 nwwns;
1231 wwn_t *wwns; 1231 wwn_t wwns[BFA_PREBOOT_BOOTLUN_MAX];
1232 int ii; 1232 int ii;
1233 1233
1234 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, &wwns); 1234 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns);
1235 1235
1236 for (ii = 0; ii < nwwns; ++ii) { 1236 for (ii = 0; ii < nwwns; ++ii) {
1237 rport = bfa_fcs_rport_create_by_wwn(port, wwns[ii]); 1237 rport = bfa_fcs_rport_create_by_wwn(port, wwns[ii]);