[SCSI] zfcp: Fix initial device and cfdc for delayed adapter allocation
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Thu, 24 Sep 2009 08:23:22 +0000 (10:23 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 2 Oct 2009 14:49:47 +0000 (09:49 -0500)
commitc5afd81e5d7ebacc9dd23954e169ac79a34fe399
tree91de28df6297b9823d6eb10533b7728a4b48e6ba
parentb1a58985853574346f1518531bdd82069501b317
[SCSI] zfcp: Fix initial device and cfdc for delayed adapter allocation

With the change for delaying the allocation of zfcp_adapter, the
initial device parameter function has to first call
ccw_device_set_online which allocates the zfcp_adapter structure.
Change this and adapt the cfdc part accordingly.

Reviewed-by: Felix Beck <felix.beck@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_cfdc.c
drivers/s390/scsi/zfcp_ext.h