]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] ieee1394: sbp2: fix probing of some DVD-ROM/RWs
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 11 Jan 2007 07:50:27 +0000 (08:50 +0100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:40 +0000 (08:31 -0800)
commit3060e6145db41e6fb3944ee42376977fed761c27
tree87b1afb6657b1322be491cd0a786f48ec843ee87
parentb4e8b1a91dd54ad653036367a11ff8b7cf109534
[PATCH] ieee1394: sbp2: fix probing of some DVD-ROM/RWs

Since commit 98e238cd42be6c0852da519303cf0182690f8d9f 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/ieee1394/sbp2.c