summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSreekanth Reddy <sreekanth.reddy@avagotech.com>2014-09-12 15:35:23 +0530
committerChristoph Hellwig <hch@lst.de>2014-09-16 09:14:16 -0700
commita66dd970c7808f0a3453bbc38b39553f6eafd994 (patch)
tree11a252d3cff74101bee7d3c396e3e42431897e1d /include
parent5fb1bf8aaa832e1e9ca3198de7bbecb8eff7db9c (diff)
downloadtalos-obmc-linux-a66dd970c7808f0a3453bbc38b39553f6eafd994.tar.gz
talos-obmc-linux-a66dd970c7808f0a3453bbc38b39553f6eafd994.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud