[SCSI] zfcp: register with SCSI layer on ccw registration
authorSwen Schillig <swen@vnet.ibm.com>
Fri, 19 Dec 2008 15:56:53 +0000 (16:56 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:35 +0000 (11:24 -0600)
commit1d3aab084a2b4d6c60c8478b3ddf5dd9391f6a32
tree885fb4c2a72f885fb4a6b4c331ca706193357904
parent27c3f0a6e4521ba0ff6e76da54969f0bf430f53a
[SCSI] zfcp: register with SCSI layer on ccw registration

Synchronize the registration and de-registration with the SCSI layer
at CCW registration, de-registration. Before we registered with the
SCSI layer on adapter activation. This way the reg and de-reg process
is in balance.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c