aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-rs5c372.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2009-02-02 18:39:40 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 12:58:12 -0500
commita3b7aeaba29e3dd995ece05ba50db9e0650c16b6 (patch)
treeb67ee797f1dd21d33e889efbdabd5e408d179e3d /drivers/rtc/rtc-rs5c372.c
parentea41e41588c248ee8b8162869c1e1c0565a4b3f6 (diff)
[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>
Diffstat (limited to 'drivers/rtc/rtc-rs5c372.c')
0 files changed, 0 insertions, 0 deletions