diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-09-08 20:47:24 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-08 21:22:50 +0400 |
commit | 4495c9e5cabc82bb4ce930eb5d3dc7544f3f8389 (patch) | |
tree | 3e70a8e3d31a6665265e54f98d5f3d9554bdc547 | |
parent | c5780e976e19faff345fcef4a01db87108b51a44 (diff) | |
download | linux-4495c9e5cabc82bb4ce930eb5d3dc7544f3f8389.tar.xz |
[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 <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/ide/ide-proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |