linux/drivers/scsi/mpt2sas
Sreekanth Reddy a66dd970c7 mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.
Driver initialization fails if driver tries to send IOC facts request message when the IOC is in reset or in a fault state.

This patch will make sure that
 1.Driver to send IOC facts request message only if HBA is in operational or ready state.
 2.If IOC is in fault state, a diagnostic reset would be issued.
 3.If IOC is in reset state then driver will wait for 10 seconds to exit out of reset state.
   If the HBA continues to be in reset state, then the HBA wouldn't be claimed by the driver.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-09-16 09:14:16 -07:00
..
mpi mpt2sas: MPI2 Rev Y (2.00.17) and Rev Z (2.00.18) specifications 2014-09-16 09:14:13 -07:00
Kconfig mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
Makefile
mpt2sas_base.c mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state. 2014-09-16 09:14:16 -07:00
mpt2sas_base.h mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support 2014-09-16 09:14:16 -07:00
mpt2sas_config.c mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_ctl.c mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_ctl.h mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_debug.h mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_scsih.c mpt2sas: Avoid type casting for direct I/O commands 2014-09-16 09:14:15 -07:00
mpt2sas_transport.c mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00