Re: 2.6.0-mm1

From: Jens Axboe
Date: Tue Dec 23 2003 - 11:43:28 EST


On Tue, Dec 23 2003, Pascal Schmidt wrote:
>
> 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;

Still needs cleanups, as mentioned in the other mail. Let me dig out
the laptop and fix it up for posting.

Jens

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