[SCSI] zfcp: wait until adapter is finished with ERP during auto-port
authorSwen Schillig <swen@vnet.ibm.com>
Wed, 2 Jul 2008 08:56:31 +0000 (10:56 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:33 +0000 (08:22 -0500)
commitc57a39a45a76bc8ecdd2c8a9bc7cf7be3ed73fe1
treebe5b66f64a60e4f7748b11b6897aa26f623151ec
parent072b91f9c6510d0ec4a49d07dbc318760c7da7b3
[SCSI] zfcp: wait until adapter is finished with ERP during auto-port

In some situations the auto port attachment task is started
before the ERP is finished. To prevent this unwanted situation
we wait until the adapter is up and running before we start our work.

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_fc.c