diff options
author | Balsundar P <balsundar.p@microsemi.com> | 2019-10-15 11:52:02 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-18 19:34:18 -0400 |
commit | 572ee53a9badf62f3973d66f6475f9ce69720a25 (patch) | |
tree | 9671bbe558a782765de951661e1f002b47323414 /drivers/scsi/aacraid/commsup.c | |
parent | e2fd90dd2ed87bdcfdfb640f06da48fd23efa080 (diff) |
scsi: aacraid: check adapter health
Currently driver waits for the command IOCTL from the firmware and if the
firmware enters nonresponsive state, the driver doesn't respond till the
firmware is responsive again.
Check that firmware is alive, otherwise return -EBUSY.
[mkp: clarified commit desc]
Link: https://lore.kernel.org/r/1571120524-6037-6-git-send-email-balsundar.p@microsemi.com
Signed-off-by: Balsundar P <balsundar.p@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
0 files changed, 0 insertions, 0 deletions