[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4900655E.7050906@freemail.hu>
Date: Thu, 23 Oct 2008 13:51:58 +0200
From: Németh Márton <nm127@...email.hu>
To: Borislav Petkov <petkovbb@...il.com>
CC: linux-ide@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] cdrom: add TEAC CD-224E to the NO_AUTOCLOSE list
From: Márton Németh <nm127@...email.hu>
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@...email.hu>
---
--- 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists