[SCSI] libfc: use PRLI hook to get parameters when sending outgoing PRLI
authorJoe Eykholt <jeykholt@cisco.com>
Sat, 29 Jan 2011 00:04:23 +0000 (16:04 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Feb 2011 17:02:22 +0000 (11:02 -0600)
commit925cedae2b223d44d59a02df1b35902fc8bdd6d2
tree4fe2398d8761fd967a3ade45265ac6ce46319e9e
parent70d53b046a6221e3ceb3bd8eaa807ef6a1c53762
[SCSI] libfc: use PRLI hook to get parameters when sending outgoing PRLI

When sending an outgoing PRLI as an initiator, get the parameters
from registered providers so that they all get a chance to decide
on roles.

The passive provider is called last, and could override the
initiator role.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c