patch-2.1.78 linux/drivers/cdrom/mcdx.c

Next file: linux/drivers/cdrom/sbpcd.c
Previous file: linux/drivers/cdrom/cm206.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.77/linux/drivers/cdrom/mcdx.c linux/drivers/cdrom/mcdx.c
@@ -75,9 +75,6 @@
 #define	mcdx_drive_map mcdx
 #include "mcdx.h"
 
-#define MCDX_QUIET 0
-
-
 #ifndef HZ
 #error HZ not defined
 #endif
@@ -288,7 +285,7 @@
   NULL,                       /* hard reset */
   mcdx_audio_ioctl,            /* audio ioctl */
   NULL,                  /* device-specific ioctl */
-  CDC_OPEN_TRAY | CDC_MEDIA_CHANGED | CDC_PLAY_AUDIO
+  CDC_OPEN_TRAY | CDC_LOCK | CDC_MEDIA_CHANGED | CDC_PLAY_AUDIO
   | CDC_DRIVE_STATUS, /* capability */
   0,                            /* number of minor devices */
 };

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