Messages in this thread Patch in this message | | | Date | Tue, 23 Dec 2003 17:34:28 +0100 (CET) | From | Pascal Schmidt <> | Subject | Re: 2.6.0-mm1 |
| |
On Tue, 23 Dec 2003 06:20:14 +0100, you wrote in linux.kernel:
>> +atapi-mo-support.patch >> >> Fix support for ATAPI MO drives (needs updating to reflect the changes >> in mt-ranier-support.patch). > Since the atapi-mo patch is mine, is there something I need to do?
I figured it out. ;) This small additional patch on top of mm1 is needed to get MO write support to work.
--- linux-2.6.0-mm1/drivers/cdrom/cdrom.c Tue Dec 23 17:26:27 2003 +++ linux-2.6.0-mm1-mo/drivers/cdrom/cdrom.c Tue Dec 23 17:11:50 2003 @@ -708,6 +708,8 @@ static int cdrom_open_write(struct cdrom ret = cdrom_mrw_open_write(cdi); else if (CDROM_CAN(CDC_DVD_RAM)) ret = cdrom_dvdram_open_write(cdi); + else if (CDROM_CAN(CDC_MO_DRIVE)) + ret = 0; return ret; }
-- 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/
| |