[xiph-commits] r11806 - trunk/cdparanoia/interface
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Tue Aug 29 12:51:12 PDT 2006
Author: xiphmont
Date: 2006-08-29 12:51:10 -0700 (Tue, 29 Aug 2006)
New Revision: 11806
Modified:
trunk/cdparanoia/interface/interface.c
trunk/cdparanoia/interface/scan_devices.c
Log:
Activate 'SGIO_SCSI_BUGGY1' interface to deal with DXFER kernel bug
Modified: trunk/cdparanoia/interface/interface.c
===================================================================
--- trunk/cdparanoia/interface/interface.c 2006-08-29 19:19:30 UTC (rev 11805)
+++ trunk/cdparanoia/interface/interface.c 2006-08-29 19:51:10 UTC (rev 11806)
@@ -47,6 +47,7 @@
if(d->opened)return(0);
switch(d->interface){
+ case SGIO_SCSI_BUGGY1:
case SGIO_SCSI:
case GENERIC_SCSI:
if((ret=scsi_init_drive(d)))
Modified: trunk/cdparanoia/interface/scan_devices.c
===================================================================
--- trunk/cdparanoia/interface/scan_devices.c 2006-08-29 19:19:30 UTC (rev 11805)
+++ trunk/cdparanoia/interface/scan_devices.c 2006-08-29 19:51:10 UTC (rev 11806)
@@ -725,9 +725,9 @@
if (!p){
/* 2.6 kernels have a bug where the block layer implements
- SG_DXFER_TO_FROM_DEVICE as a write operation instead of read.
- I've submitted a kernel patch, but it will take a while to
- propogate. Work around it for now. --Monty */
+ SG_DXFER_TO_FROM_DEVICE as a write operation instead of read.
+ I've submitted a kernel patch, but it will take a while to
+ propogate. Work around it for now. --Monty */
if(d->interface == SGIO_SCSI){
/* test the inquiry with the workaround */
More information about the commits
mailing list