[xiph-commits] r14880 - trunk/cdparanoia/interface

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed May 14 11:29:34 PDT 2008


Author: xiphmont
Date: 2008-05-14 11:29:32 -0700 (Wed, 14 May 2008)
New Revision: 14880

Modified:
   trunk/cdparanoia/interface/scsi_interface.c
Log:
Back out one change; check seperately for MMC DAP bit support.



Modified: trunk/cdparanoia/interface/scsi_interface.c
===================================================================
--- trunk/cdparanoia/interface/scsi_interface.c	2008-05-13 13:23:04 UTC (rev 14879)
+++ trunk/cdparanoia/interface/scsi_interface.c	2008-05-14 18:29:32 UTC (rev 14880)
@@ -860,7 +860,7 @@
 
 static int i_read_mmc (cdrom_drive *d, void *p, long begin, long sectors, unsigned char *sense){
   int ret;
-  unsigned char cmd[12]={0xbe, 0x02, 0, 0, 0, 0, 0, 0, 0, 0x90, 0, 0};
+  unsigned char cmd[12]={0xbe, 0x0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0};
 
   cmd[3] = (begin >> 16) & 0xFF;
   cmd[4] = (begin >> 8) & 0xFF;
@@ -874,7 +874,7 @@
 
 static int i_read_mmc2 (cdrom_drive *d, void *p, long begin, long sectors, unsigned char *sense){
   int ret;
-  unsigned char cmd[12]={0xbe, 0x02, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0};
+  unsigned char cmd[12]={0xbe, 0x0, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0};
 
   cmd[3] = (begin >> 16) & 0xFF;
   cmd[4] = (begin >> 8) & 0xFF;
@@ -888,7 +888,7 @@
 
 static int i_read_mmc3 (cdrom_drive *d, void *p, long begin, long sectors, unsigned char *sense){
   int ret;
-  unsigned char cmd[12]={0xbe, 0, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0};
+  unsigned char cmd[12]={0xbe, 0x4, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0};
 
   cmd[3] = (begin >> 16) & 0xFF;
   cmd[4] = (begin >> 8) & 0xFF;



More information about the commits mailing list