diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-11-21 04:37:47 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-19 10:39:05 -0500 |
commit | 2ec331aa52ef4c27df134c8208c60d7e85a0b77f (patch) | |
tree | d2b95df9802210e66d7d5c74c04f61352fbe6d00 /drivers/scsi/bfa/bfa_svc.c | |
parent | 7593e524254a8e477e28dc662ca27b8b0ab9f1d7 (diff) |
[SCSI] bfa: Observed auto D-port mode instead of manual
Observed Auto mode in the HBA side while doing manual D-Port test on the
switch side. Mode is not passed to BFA from firmware when the test is
triggered by switch side. BFA just blindly using Auto mode.
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_svc.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_svc.c b/drivers/scsi/bfa/bfa_svc.c index 6c41e57fd752..625225f31081 100644 --- a/drivers/scsi/bfa/bfa_svc.c +++ b/drivers/scsi/bfa/bfa_svc.c | |||
@@ -6758,7 +6758,7 @@ bfa_dport_scn(struct bfa_dport_s *dport, struct bfi_diag_dport_scn_s *msg) | |||
6758 | dport->rp_pwwn = msg->info.teststart.pwwn; | 6758 | dport->rp_pwwn = msg->info.teststart.pwwn; |
6759 | dport->rp_nwwn = msg->info.teststart.nwwn; | 6759 | dport->rp_nwwn = msg->info.teststart.nwwn; |
6760 | dport->lpcnt = cpu_to_be32(msg->info.teststart.numfrm); | 6760 | dport->lpcnt = cpu_to_be32(msg->info.teststart.numfrm); |
6761 | bfa_dport_result_start(dport, BFA_DPORT_OPMODE_AUTO); | 6761 | bfa_dport_result_start(dport, msg->info.teststart.mode); |
6762 | break; | 6762 | break; |
6763 | 6763 | ||
6764 | case BFI_DPORT_SCN_SUBTESTSTART: | 6764 | case BFI_DPORT_SCN_SUBTESTSTART: |