]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: change elsct to use FC_ID instead of rdata
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:00:55 +0000 (14:00 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:41 +0000 (12:07 -0500)
commit6cae1f9e184ad90b8b9d98e30c580b2168bb3f20
treedbb230e8d4e024085e126445e6d819d5088e0406
parentce38a6ddee3336b94b76638d2c2cb05dbef86e81
[SCSI] libfc: change elsct to use FC_ID instead of rdata

tt.elsct_send is used by both FCP and by the rport state machine.
After further patches, these two modules will use different
structures for the remote port.

So, change elsct_send to use the FC_ID instead of the fc_rport_priv
as its argument.  It currently only uses the FC_ID anyway.

For CT requests the destination FC_ID is still implicitly 0xfffffc.
After further patches the did arg on CT requests will be used to
specify the FC_ID being inquired about for GPN_ID or other queries.

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_disc.c
drivers/scsi/libfc/fc_elsct.c
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c
include/scsi/fc_encode.h
include/scsi/libfc.h