66 |
|
|
67 |
/* definition de tous les type de bus */ |
/* definition de tous les type de bus */ |
68 |
Tsearchdrive listesearchdrives[] = { |
Tsearchdrive listesearchdrives[] = { |
69 |
{ "", "", "SCSI", 100 }, /* scsi (sg) */ |
#if LINUX_IDE /* pure ide devices with linux */ |
70 |
#ifdef LINUX_IDE /* pure ide devices with linux */ |
{ "dev=/dev/hda", "/dev/hda", "IDE", 100 }, |
71 |
{ "dev=/dev/hda", "/dev/hda", "IDE", 40 }, |
{ "dev=/dev/hdb", "/dev/hdb", "IDE", 100 }, |
72 |
{ "dev=/dev/hdb", "/dev/hdb", "IDE", 40 }, |
{ "dev=/dev/hdc", "/dev/hdc", "IDE", 100 }, |
73 |
{ "dev=/dev/hdc", "/dev/hdc", "IDE", 40}, |
{ "dev=/dev/hdd", "/dev/hdd", "IDE", 100 }, |
|
{ "dev=/dev/hdd", "/dev/hdd", "IDE", 40 }, |
|
74 |
#endif |
#endif |
75 |
{ "dev=ATA:", "ATA:", "ATA", 80 }, /* ide sg */ |
{ "", "", "SCSI", 80 }, /* scsi (sg) */ |
76 |
{ "dev=ATAPI:", "ATAPI:", "ATAPI", 60 }, /* ide */ |
{ "dev=ATA:", "ATA:", "ATA", 60 }, /* ide sg */ |
77 |
|
{ "dev=ATAPI:", "ATAPI:", "ATAPI", 40 }, /* ide */ |
78 |
{ NULL, NULL, NULL, 0} |
{ NULL, NULL, NULL, 0} |
79 |
}; |
}; |
80 |
|
|
438 |
while (*Lcont > 0 && *Labort == FALSE) { |
while (*Lcont > 0 && *Labort == FALSE) { |
439 |
gtk_main_iteration(); |
gtk_main_iteration(); |
440 |
} |
} |
441 |
exit_prog(*Lpid, Aerror, NULL); |
exit_prog(*Lpid, *Labort, Aerror, NULL); |
442 |
|
|
443 |
g_source_remove(Lcomevent); |
g_source_remove(Lcomevent); |
444 |
g_source_remove(Lcomerrevent); |
g_source_remove(Lcomerrevent); |
817 |
while (*Lcont>0 && *Labort == FALSE) { |
while (*Lcont>0 && *Labort == FALSE) { |
818 |
gtk_main_iteration(); |
gtk_main_iteration(); |
819 |
} |
} |
820 |
exit_prog(*Lpid, Aerror, NULL); |
exit_prog(*Lpid, *Labort, Aerror, NULL); |
821 |
|
|
822 |
g_source_remove(Lcomerrevent); |
g_source_remove(Lcomerrevent); |
823 |
g_source_remove(Lcomevent); |
g_source_remove(Lcomevent); |
976 |
_DEB("fin !!!\n"); |
_DEB("fin !!!\n"); |
977 |
while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); } |
while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); } |
978 |
|
|
979 |
exit_prog(*Lpid, Aerror, NULL); |
exit_prog(*Lpid, FALSE, Aerror, NULL); |
980 |
|
|
981 |
g_source_remove(Lcomerrevent); |
g_source_remove(Lcomerrevent); |
982 |
g_source_remove(Lcomevent); |
g_source_remove(Lcomevent); |
1045 |
_DEB("fin !!!\n"); |
_DEB("fin !!!\n"); |
1046 |
while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); } |
while (*Lcont > 0) { while(gtk_events_pending()) gtk_main_iteration(); } |
1047 |
|
|
1048 |
exit_prog(*Lpid, Aerror, NULL); |
exit_prog(*Lpid, FALSE, Aerror, NULL); |
1049 |
|
|
1050 |
g_source_remove(Lcomerrevent); |
g_source_remove(Lcomerrevent); |
1051 |
g_source_remove(Lcomevent); |
g_source_remove(Lcomevent); |