From: Vladislav B. <vs...@vl...> - 2006-06-10 17:17:13
|
Sorry, don't understand what you mean Ming Zhang wrote: > Looks like that "CDROM drive is presented while no media in it" is > disallowed in current code. Is this reasonable? > > Ming > > > -------- Forwarded Message -------- > >>From: Vladislav Bolkhovitin <vl...@us...> >>To: scs...@li... >>Subject: [Scst-cvs] src/dev_handlers scst_fileio.c,1.28,1.29 >>Date: Sat, 10 Jun 2006 16:05:30 +0000 >> >>Update of /cvsroot/scst/src/dev_handlers >>In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25793/src/dev_handlers >> >>Modified Files: >> scst_fileio.c >>Log Message: >>Fixed broken CDROM FILEIO. Before that it always reported "No medium found" >> >> >>Index: scst_fileio.c >>=================================================================== >>RCS file: /cvsroot/scst/src/dev_handlers/scst_fileio.c,v >>retrieving revision 1.28 >>retrieving revision 1.29 >>diff -C2 -d -r1.28 -r1.29 >>*** scst_fileio.c 10 Jun 2006 15:57:10 -0000 1.28 >>--- scst_fileio.c 10 Jun 2006 16:05:28 -0000 1.29 >>*************** >>*** 999,1003 **** >> case VERIFY_16: >> case START_STOP: >>- case TEST_UNIT_READY: >> case RESERVE: >> case RESERVE_10: >>--- 999,1002 ---- >>*************** >>*** 1009,1012 **** >>--- 1008,1013 ---- >> delayed = 1; >> break; >>+ case TEST_UNIT_READY: >>+ break; >> case REPORT_LUNS: >> default: >> >> >> >>_______________________________________________ >>Scst-cvs mailing list >>Scs...@li... >>https://lists.sourceforge.net/lists/listinfo/scst-cvs > > > > > _______________________________________________ > Scst-devel mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scst-devel > |