Re: [IDE] trying to make MO drive work with ide-floppy/ide-cd

From: Pascal Schmidt (der.eremit@email.de)
Date: Tue May 06 2003 - 09:10:55 EST


On Tue, 6 May 2003, Pascal Schmidt wrote:

> I'll check if reading from the MO drive works with ide-cd under 2.4
> as well. If it does: what about a patch that makes ATAPI MO drives
> and CD writers behave the same on 2.4: read-only with native ide drivers,
> read-write with ide-scsi?

I can now confirm that using the MO drive read-only with 2.4 and ide-cd
also works fine.

Could we please have this patch included in the 2.4 IDE code to make
MO drives and CD writers behave the same?

--- linux-2.4/drivers/ide/ide-probe.c Mon May 5 21:25:32 2003
+++ build/drivers/ide/ide-probe.c Tue May 6 16:03:28 2003
@@ -222,6 +222,7 @@ static inline void do_identify (ide_driv
                                 break;
                         case ide_optical:
                                 printk ("OPTICAL");
+ type = ide_cdrom;
                                 drive->removable = 1;
                                 break;
                         default:

-- 
Ciao,
Pascal

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:26 EST