projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa49263
)
[SCSI] qla2xxx: No fcport FC-4 type assignment in GA_NXT response.
author
Armen Baloyan
<armen.baloyan@qlogic.com>
Wed, 21 Nov 2012 07:40:30 +0000
(
02:40
-0500)
committer
James Bottomley
<JBottomley@Parallels.com>
Fri, 30 Nov 2012 11:54:21 +0000
(11:54 +0000)
Signed-off-by: Armen Baloyan <armen.baloyan@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_gs.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_gs.c
b/drivers/scsi/qla2xxx/qla_gs.c
index
f4e4bd7
..
c51929c
100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_gs.c
+++ b/
drivers/scsi/qla2xxx/qla_gs.c
@@
-218,6
+218,9
@@
qla2x00_ga_nxt(scsi_qla_host_t *vha, fc_port_t *fcport)
memcpy(fcport->port_name, ct_rsp->rsp.ga_nxt.port_name,
WWN_SIZE);
+ fcport->fc4_type = (ct_rsp->rsp.ga_nxt.fc4_types[2] & BIT_0) ?
+ FC4_TYPE_FCP_SCSI : FC4_TYPE_OTHER;
+
if (ct_rsp->rsp.ga_nxt.port_type != NS_N_PORT_TYPE &&
ct_rsp->rsp.ga_nxt.port_type != NS_NL_PORT_TYPE)
fcport->d_id.b.domain = 0xf0;