]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] Fix out of spec CD-ROM problem with media change
authorTARUISI Hiroaki <taruishi.hiroak@jp.fujitsu.com>
Thu, 11 Aug 2011 11:25:20 +0000 (20:25 +0900)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:36:41 +0000 (08:36 -0600)
commit5fb53d14e8b9d933c90c639d33ec51ff26890860
tree148e02241525e2a14df6c7e8b2dc0af455344f44
parent456a9951eb6e8a2688d8a3d98c0e51e94e042605
[SCSI] Fix out of spec CD-ROM problem with media change

Some CD-ROMs fail to report a media change correctly.  The specific
one for this patch simply fails to respond to commands, then gives a
UNIT ATTENTION after being reset which returns ASC/ASCQ 28/00.  This
is out of spec behaviour, but add a check in the eat CC/UA on reset
path to catch this case so the CD-ROM will function somewhat properly.

[jejb: fixed up white space and accepted without signoff]
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_error.c