[PATCH] 2.5.73 can't mount DVD-RAM via ide-scsi

From: Kouichi ONO (co2b@ceres.dti.ne.jp)
Date: Thu Jun 26 2003 - 10:36:35 EST


Hello,

in 2.5.73, I can't read/write mount DVD-RAM via ide-scsi (only r/o mount).
Without ide-scsi, I can mount DVD-RAM read/write mode and works fine.

Here's a patch to fix this.

--- linux-2.5.73-org/drivers/scsi/sr.c 2003-06-25 20:39:59.000000000 +0900
+++ linux-2.5.73/drivers/scsi/sr.c 2003-06-26 23:45:33.000000000 +0900
@@ -65,7 +65,7 @@
         (CDC_CLOSE_TRAY|CDC_OPEN_TRAY|CDC_LOCK|CDC_SELECT_SPEED| \
          CDC_SELECT_DISC|CDC_MULTI_SESSION|CDC_MCN|CDC_MEDIA_CHANGED| \
          CDC_PLAY_AUDIO|CDC_RESET|CDC_IOCTLS|CDC_DRIVE_STATUS| \
- CDC_CD_R|CDC_CD_RW|CDC_DVD|CDC_DVD_R|CDC_GENERIC_PACKET)
+ CDC_CD_R|CDC_CD_RW|CDC_DVD|CDC_DVD_R|CDC_DVD_RAM|CDC_GENERIC_PACKET)
 
 static int sr_probe(struct device *);
 static int sr_remove(struct device *);

Regards,

-- 
  Ono Kouichi (co2b@ceres.dti.ne.jp)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:23 EST