From 10672e62d32c342e8f94b769308241cd9389c874 Mon Sep 17 00:00:00 2001 From: xiphmont Date: Wed, 14 May 2008 18:29:32 +0000 Subject: [PATCH] Back out one change; check seperately for MMC DAP bit support. git-svn-id: http://svn.xiph.org/trunk@14880 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- cdparanoia/interface/scsi_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cdparanoia/interface/scsi_interface.c b/cdparanoia/interface/scsi_interface.c index c580b8866..dae021dd3 100644 --- a/cdparanoia/interface/scsi_interface.c +++ b/cdparanoia/interface/scsi_interface.c @@ -860,7 +860,7 @@ static int i_read_D8 (cdrom_drive *d, void *p, long begin, long sectors, unsigne 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_mmc (cdrom_drive *d, void *p, long begin, long sectors, unsign 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_mmc2 (cdrom_drive *d, void *p, long begin, long sectors, unsig 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; -- 2.11.4.GIT