[SCSI] zfcp: Report fc_host_port_type as NPIV
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Mon, 2 Mar 2009 12:09:06 +0000 (13:09 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:22 +0000 (12:58 -0500)
commit0282985da5923fa6365adcc1a1586ae0c13c1617
tree8cb72f045ca88d55da46dccbe1a2e8c470a5c021
parent6d1a27f630f1d30bf85c61ec0436c287d0945fcc
[SCSI] zfcp: Report fc_host_port_type as NPIV

Report the fc_host_port_type as FC_PORTTYPE_NPIV when the subchannel
is running in NPIV mode. This allows to see the correct type with
lsscsi -H -t --list

Acked-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c