[SCSI] iser: Modify iser to take a iscsi_endpoint struct in ep callouts and session...
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 21 May 2008 20:54:14 +0000 (15:54 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:21 +0000 (08:22 -0500)
commit412eeafa0a51a8d86545d0be637bf84e4374fccf
tree70d2e9b274513953fd5df036474c9ae520d6843b
parentd82ff9be733a2e6da4f6c2ab4e9216f3f536503d
[SCSI] iser: Modify iser to take a iscsi_endpoint struct in ep callouts and session setup

This hooks iser into the iscsi endpoint code. Previously it handled the
lookup and allocation. This has been made generic so bnx2i and iser can
share it. It also allows us to pass iser the leading conn's ep, so we
know the ib_deivce being used and can set it as the scsi_host's parent.
And that allows scsi-ml to set the dma_mask based on those values.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_verbs.c