[SCSI] mpt2sas: Retrieve the ioc facts prior to putting the controller into READY...
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 23 Sep 2009 12:02:06 +0000 (17:32 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 29 Oct 2009 17:03:14 +0000 (13:03 -0400)
commit96b681c6ad3f2f5013c0ffc558969ee6ac8c450b
tree7ef2646232624ce8beade229ea351ee57cd841bf
parentec6c2b43b08f29e08ed5440abae1ec18d80fa8b7
[SCSI] mpt2sas: Retrieve the ioc facts prior to putting the controller into READY state

The driver needs to retrieve the ioc facts prior to putting the controller
into READY state. The current design is calling ioc facts after putting the
controller into READY state, which means the driver is sending a diag reset
instead of message unit reset becuase the capability information is not yet
available.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: Eric Moore <Eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c