Re: [PATCH] cdrom: add TEAC CD-224E to the NO_AUTOCLOSE list

From: Boris Petkov
Date: Thu Oct 23 2008 - 08:37:57 EST


On Thu, Oct 23, 2008 at 1:51 PM, Németh Márton <nm127@xxxxxxxxxxx> wrote:
> From: Márton Németh <nm127@xxxxxxxxxxx>
>
> The "TEAC CD-ROM CD-224E" cannot close its tray, so add it to the NO_AUTOCLOSE list. This
> will correct the "Can close tray" field of /proc/sys/dev/cdrom/info.
>
> Signed-off-by: Márton Németh <nm127@xxxxxxxxxxx>

Acked-by: Borislav Petkov <petkovbb@xxxxxxxxx>

> ---
> --- linux-2.6.27/drivers/ide/ide-cd.c.orig 2008-10-10 00:13:53.000000000 +0200
> +++ linux-2.6.27/drivers/ide/ide-cd.c 2008-10-23 11:34:59.000000000 +0200
> @@ -1863,6 +1863,7 @@ static const struct cd_list_entry ide_cd
> { "Optiarc DVD RW AD-5200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK },
> { "Optiarc DVD RW AD-7200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK },
> { "Optiarc DVD RW AD-7543A", NULL, IDE_AFLAG_NO_AUTOCLOSE },
> + { "TEAC CD-ROM CD-224E", NULL, IDE_AFLAG_NO_AUTOCLOSE },
> { NULL, NULL, 0 }
> };
>
>

--
Regards/Gruss,
Boris
--
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/