projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5780e9
)
[PATCH] optical /proc/ide/*/media
author
Alexey Dobriyan
<adobriyan@gmail.com>
Fri, 8 Sep 2006 16:47:24 +0000
(09:47 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 8 Sep 2006 17:22:50 +0000
(10:22 -0700)
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>
drivers/ide/ide-proc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/ide-proc.c
b/drivers/ide/ide-proc.c
index c12f1b71e934fcdd23b349dc309bef0a09053941..41b74b13a00c477f2f0f498442d207ac4fefa5c3 100644
(file)
--- 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;
}