--- cdrkit-1.1.10\libusal\scsi-wnt.c 2010-04-22 20:30:04.995375000 +0200 +++ cdrkit\libusal\scsi-wnt.c 2010-04-22 20:24:00.604750000 +0200 @@ -1,3 +1,9 @@ +/* This file has been modified for libhimd from linux-minidisc project + * + * Now scsi access to drives of type DRIVE_REMOVABLE is supported. + * + */ + /* * This file has been modified for the cdrkit suite. * @@ -72,8 +78,8 @@ * Choose your name instead of "schily" and make clear that the version * string is related to a modified source. */ -static char _usal_trans_version[] = "scsi-wnt.c-1.45"; /* The version for this transport*/ -static char _usal_itrans_version[] = "SPTI-scsi-wnt.c-1.45"; /* The version for SPTI */ +static char _usal_trans_version[] = "scsi-wnt.c-1.45_linux_minidisc"; /* The version for this transport*/ +static char _usal_itrans_version[] = "SPTI-scsi-wnt.c-1.45_linux_minidisc"; /* The version for SPTI */ /* * Local defines and constants @@ -286,7 +292,7 @@ } /* shortcut for device names, remember the hit */ - if(uDriveType==DRIVE_CDROM && usalp->local) { + if((uDriveType==DRIVE_CDROM && usalp->local) || (uDriveType==DRIVE_REMOVABLE && usalp->local)) { /* printf("seen, %d at %d, %d, %d\n", sptiglobal.drive[i].driveLetter, sptiglobal.drive[i].ha, sptiglobal.drive[i].tgt, sptiglobal.drive[i].lun); */ if(usallocal(usalp)->drive_wanted && *buf==toupper(usallocal(usalp)->drive_wanted)) id_wanted=i;