patch-2.4.13 linux/drivers/ide/ide-cd.c
Next file: linux/drivers/ide/ide-disk.c
Previous file: linux/drivers/ide/hptraid.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Oct 18 13:18:22 2001
- Orig file:
v2.4.12/linux/drivers/ide/ide-cd.c
- Orig date:
Mon Aug 27 12:41:41 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/ide/ide-cd.c linux/drivers/ide/ide-cd.c
@@ -2409,7 +2409,7 @@
* any other way to detect this...
*/
if (sense.sense_key == NOT_READY) {
- if (sense.asc == 0x3a && (!sense.ascq||sense.ascq == 1))
+ if (sense.asc == 0x3a && sense.ascq == 1)
return CDS_NO_DISC;
else
return CDS_TRAY_OPEN;
@@ -3059,3 +3059,4 @@
module_init(ide_cdrom_init);
module_exit(ide_cdrom_exit);
+MODULE_LICENSE("GPL");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)