Commit 086c480
scsi: NCR5380: Handle BSY signal loss during information transfer phases
Improve robustness by checking for a lost BSY signal during the information
transfer loop. The status register is being polled anyway, so a BSY check
costs nothing. BSY signal loss could be caused by a target error or a
kicked plug etc. A bus reset is another possibility but that is already
handled and hostdata->connected would be NULL.
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Link: https://lore.kernel.org/r/d253dddaf4d9bc17b8ee02ea2b731d92f25b16f1.1723001788.git.fthain@linux-m68k.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 1c71065 commit 086c480
1 file changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1244 | 1244 | | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | | - | |
1248 | | - | |
1249 | 1247 | | |
1250 | 1248 | | |
1251 | 1249 | | |
| |||
1277 | 1275 | | |
1278 | 1276 | | |
1279 | 1277 | | |
1280 | | - | |
1281 | | - | |
| 1278 | + | |
| 1279 | + | |
1282 | 1280 | | |
1283 | 1281 | | |
1284 | 1282 | | |
| |||
1666 | 1664 | | |
1667 | 1665 | | |
1668 | 1666 | | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
1672 | 1667 | | |
1673 | 1668 | | |
1674 | 1669 | | |
| |||
2009 | 2004 | | |
2010 | 2005 | | |
2011 | 2006 | | |
| 2007 | + | |
| 2008 | + | |
2012 | 2009 | | |
2013 | | - | |
| 2010 | + | |
| 2011 | + | |
2014 | 2012 | | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
2015 | 2021 | | |
2016 | 2022 | | |
2017 | 2023 | | |
| |||
0 commit comments