From: Alexey Dobriyan Date: Fri, 8 Sep 2006 16:47:24 +0000 (-0700) Subject: [PATCH] optical /proc/ide/*/media X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4495c9e5cabc82bb4ce930eb5d3dc7544f3f8389;p=openwrt%2Fstaging%2Fblogic.git [PATCH] optical /proc/ide/*/media Sergey Vlasov reported that his "FUJITSU MCC3064AP, ATAPI OPTICAL drive" pops up as UNKNOWN in /proc/ide/*/media . Closes #4145. Signed-off-by: Alexey Dobriyan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index c12f1b71e934..41b74b13a00c 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c @@ -376,6 +376,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; }