android_kernel_xiaomi_sm8350/drivers/scsi/ibmvscsi
Brian King a3b7aeaba2 [SCSI] ibmvfc: Better handle other FC initiators
The ibmvfc driver currently always sets the role of all rports
to FC_PORT_ROLE_FCP_TARGET, which is not correct for other initiators.
This can cause problems if other initiators are on the fabric
when we then try to scan the rport for LUNs. Fix this by looking
at the service parameters returned in the PRLI to set the roles
appropriately. Also look at the returned service parameters to
decide whether or not we were actually able to successfully log into
the target.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-12 12:58:12 -05:00
..
ibmvfc.c [SCSI] ibmvfc: Better handle other FC initiators 2009-03-12 12:58:12 -05:00
ibmvfc.h [SCSI] ibmvfc: Increase cancel timeout 2009-02-10 11:15:18 -05:00
ibmvscsi.c [SCSI] ibmvscsi: Correct DMA mapping leak 2009-02-10 11:15:17 -05:00
ibmvscsi.h ibmvscsi: driver enablement for CMO 2008-07-25 15:44:44 +10:00
ibmvstgt.c [SCSI] ibmvstgt: move crq_queue_create to the end of initialization 2008-12-09 09:45:30 -06:00
iseries_vscsi.c
Makefile
rpa_vscsi.c dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
viosrp.h