Commit 4495c9e5 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

[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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c5780e97
...@@ -376,6 +376,8 @@ static int proc_ide_read_media ...@@ -376,6 +376,8 @@ static int proc_ide_read_media
break; break;
case ide_floppy:media = "floppy\n"; case ide_floppy:media = "floppy\n";
break; break;
case ide_optical:media = "optical\n";
break;
default: media = "UNKNOWN\n"; default: media = "UNKNOWN\n";
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment