]> err.no Git - linux-2.6/commit
[SCSI] stex: fix reset recovery for console device
authorEd Lin <ed.lin@promise.com>
Thu, 10 May 2007 04:50:40 +0000 (20:50 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 16 May 2007 16:41:23 +0000 (12:41 -0400)
commitd116a7bc6ab4dcf752078daeaf2276f7d7660595
treef5b006ccb0265b8a26e5b6e835601572056818c2
parent69f4a513911455670d3322fb5252b437c0485707
[SCSI] stex: fix reset recovery for console device

After reset completed, the scsi error handler sends out TEST_UNIT_READY
to the device. For 'normal' devices the command will be handled by firmware.
However, because the RAID console only interfaces to scsi mid layer, the
firmware will not process the command for it. This will make the console to
be offlined right after reset. Add the handling in driver to fix this problem.

Signed-off-by: Ed Lin <ed.lin@promise.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/stex.c