From ee1fb2ba7420c20d9b68dd4aab0ff3f2572d6cc0 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Fri, 2 Nov 2007 04:17:40 +0100 Subject: [PATCH] optical /proc/ide/*/media Sergey Vlasov reported that his "FUJITSU MCC3064AP, ATAPI OPTICAL drive" pops up as UNKNOWN in /proc/ide/*/media . Closes kernel Bugzilla #4145. Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk --- drivers/ide/ide-proc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index 84665e2ba3c8..c0c9ac505c5e 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c @@ -377,6 +377,8 @@ static int proc_ide_read_media break; case ide_floppy:media = "floppy\n"; break; + case ide_optical:media = "optical\n"; + break; default: media = "UNKNOWN\n"; break; } -- 2.39.5