From 24a578ccc9d4b3278dc04a77a1bf8b3ce6517a57 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 6 Oct 2011 11:00:18 +0000 Subject: [PATCH] Now unconditional: Cdrskin_libburn_has_convert_scsi_adR --- libburn/trunk/cdrskin/cdrskin.c | 11 +---------- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin.c b/libburn/trunk/cdrskin/cdrskin.c index 14545e0c..21994d29 100644 --- a/libburn/trunk/cdrskin/cdrskin.c +++ b/libburn/trunk/cdrskin/cdrskin.c @@ -183,7 +183,7 @@ or #define Cdrskin_allow_libburn_taO 1 #define Cdrskin_libburn_has_is_enumerablE 1 #define Cdrskin_libburn_has_convert_fs_adR 1 -#define Cdrskin_libburn_has_convert_scsi_adR 1 +/* Cdrskin_libburn_has_convert_scsi_adR */ /* Cdrskin_libburn_has_burn_msgS */ /* Cdrskin_libburn_has_burn_aborT */ /* Cdrskin_libburn_has_cleanup_handleR */ @@ -2023,11 +2023,7 @@ int Cdrpreskin_new(struct CdrpreskiN **preskin, int flag) o->allow_emulated_drives= 0; o->no_whitelist= 0; o->no_convert_fs_adr= 0; -#ifdef Cdrskin_libburn_has_convert_scsi_adR o->old_pseudo_scsi_adr= 0; -#else - o->old_pseudo_scsi_adr= 1; -#endif o->scan_demands_drive= 0; o->abort_on_busy_drive= 0; o->drive_exclusive= 1; @@ -2427,7 +2423,6 @@ ata_bus:; } sprintf(device_adr,"/dev/hd%c",'a'+(2*busno)+(*driveno)); -#ifdef Cdrskin_libburn_has_convert_scsi_adR } else { int ret; @@ -2443,8 +2438,6 @@ ata_bus:; } else if(ret<0) return(-1); return(1); - -#endif /* Cdrskin_libburn_has_convert_scsi_adR */ } } } @@ -4274,7 +4267,6 @@ int Cdrskin_driveno_to_btldev(struct CdrskiN *skin, int driveno, {ret= 2; goto adr_translation;} } -#ifdef Cdrskin_libburn_has_convert_scsi_adR if(!skin->preskin->old_pseudo_scsi_adr) { int host_no= -1,channel_no= -1,target_no= -1,lun_no= -1, bus_no= -1; @@ -4295,7 +4287,6 @@ int Cdrskin_driveno_to_btldev(struct CdrskiN *skin, int driveno, goto adr_translation; } } -#endif k_start= 0; if(strncmp(loc,"/dev/sg",7)==0 || strncmp(loc,"/dev/sr",7)==0) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index d19bb536..e378d096 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.10.06.105627" +#define Cdrskin_timestamP "2011.10.06.105922"