patch-2.1.87 linux/drivers/scsi/sr.c

Next file: linux/drivers/sound/Config.in
Previous file: linux/drivers/scsi/sd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/drivers/scsi/sr.c linux/drivers/scsi/sr.c
@@ -761,7 +761,13 @@
 
 	if (scsi_CDs[dev].sector_size == 512) realcount = realcount << 2;
 
-	if (((realcount > 0xff) || (block > 0x1fffff)) && scsi_CDs[dev].ten)
+        /*
+         * Note: The scsi standard says that READ_6 is *optional*, while
+         * READ_10 is mandatory.   Thus there is no point in using
+         * READ_6.
+         */
+	if (scsi_CDs[dev].ten)
+          
     {
 		if (realcount > 0xffff)
 	{

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov