ncr5380: Implement new eh_bus_reset_handler
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:06:03 +0000 (16:06 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:43:08 +0000 (21:43 -0500)
commit62717f537e1b325665711166c33cd2d06fd6a5cd
tree1a6a3a1da3fe7842c06e770cac974d9961aa2d26
parent707d62b37fbb1de74da6e5cf263bcd8223ae3cf7
ncr5380: Implement new eh_bus_reset_handler

NCR5380.c lacks a sane eh_bus_reset_handler. The atari_NCR5380.c code is
much better but it should not throw out the issue queue (that would be
a host reset) and it neglects to set the result code for commands that it
throws out. Fix these bugs and keep the two core drivers in sync.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c
drivers/scsi/atari_NCR5380.c
This page took 0.047452 seconds and 5 git commands to generate.