]> git.baikalelectronics.ru Git - kernel.git/commit
ieee1394: sbp2: fix probing of some DVD-ROM/RWs
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 10 Jan 2007 19:17:15 +0000 (20:17 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 10 Jan 2007 19:24:42 +0000 (20:24 +0100)
commit9314a41281b990ccd92e94c28f9bad6fa81e908c
tree30068543e36dd4f36b3821a9585b53fe22c32920
parent45d22c37c0e7742463ab59e99201ebd51aac81dc
ieee1394: sbp2: fix probing of some DVD-ROM/RWs

Since commit 17ef0e40fd4868ef906a99585cac80382005bcbc in Linux 2.6.19,
"ieee1394: sbp2: don't prefer MODE SENSE 10", some FireWire DVD-ROMs and
DVD-RWs were mistaken as CD-ROM because sr_mod now sent MODE SENSE 6.
The MMC command set includes only MODE SENSE 10.
http://bugzilla.kernel.org/show_bug.cgi?id=7800

This fix lets sbp2 switch scsi_device.use_10_for_rw on for MMC LUs.
This should rather be done in the command set driver sr_mod, not in the
sbp2 transport driver, and an according patch will follow for a next
Linux release.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c