diff options
author | Finn Thain <[email protected]> | 2019-06-09 11:19:11 +1000 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-06-20 15:37:03 -0400 |
commit | 57f31326518e98ee4cabf9a04efe00ed57c54147 (patch) | |
tree | d4eb1cf67ed98ed81e95fe602ba9d3e5b80b789b /lib/mpi/mpi-internal.h | |
parent | 25fcf94a2fa89dd3e73e965ebb0b38a2a4f72aa4 (diff) |
scsi: NCR5380: Always re-enable reselection interrupt
The reselection interrupt gets disabled during selection and must be
re-enabled when hostdata->connected becomes NULL. If it isn't re-enabled a
disconnected command may time-out or the target may wedge the bus while
trying to reselect the host. This can happen after a command is aborted.
Fix this by enabling the reselection interrupt in NCR5380_main() after
calls to NCR5380_select() and NCR5380_information_transfer() return.
Cc: Michael Schmitz <[email protected]>
Cc: [email protected] # v4.9+
Fixes: 8b00c3d5d40d ("ncr5380: Implement new eh_abort_handler")
Signed-off-by: Finn Thain <[email protected]>
Tested-by: Stan Johnson <[email protected]>
Tested-by: Michael Schmitz <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions