For Linux 2.4, USB : Carefully avoided to inquire more data than available

This commit is contained in:
2007-05-21 18:57:09 +00:00
parent 41f2a40a58
commit 79adcb520b
7 changed files with 472 additions and 94 deletions

View File

@ -128,9 +128,14 @@ void toc_find_modes(struct burn_drive *d)
if (e && !(e->control & 4)) {
t->mode = BURN_AUDIO;
} else {
t->mode = BURN_MODE1;
/* ts A70519 : this does not work with Linux 2.4 USB because one cannot
predict the exact dxfer_size without knowing the sector type.
mem.sectors = 1;
d->read_sectors(d, lba, mem.sectors, &o, &mem);
t->mode = sector_identify(mem.data);
*/
}
}
}