patch-2.0.34 linux/drivers/scsi/sr_ioctl.c

Next file: linux/drivers/scsi/tmscsim.c
Previous file: linux/drivers/scsi/sg.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.33/linux/drivers/scsi/sr_ioctl.c linux/drivers/scsi/sr_ioctl.c
@@ -519,9 +519,10 @@
 	return result;
     }
 	
-    case CDROMREADMODE2:
-	return -EINVAL;
+    /* these are compatible with the ide-cd driver */
+    case CDROMREADRAW:
     case CDROMREADMODE1:
+    case CDROMREADMODE2:
 	return -EINVAL;
 	
 	/* block-copy from ../block/sbpcd.c with some adjustments... */

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