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

From: NÃmeth MÃrton
Date: Thu Oct 23 2008 - 07:52:21 EST


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>
---
--- 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 }
};

--
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/