Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2007-11-02 04:17:40 +0100
committerAdrian Bunk <bunk@kernel.org>2007-11-02 04:17:40 +0100
commitee1fb2ba7420c20d9b68dd4aab0ff3f2572d6cc0 (patch)
tree84a8343bf4c1b4f4d9116552d67d0bd943b17198
parent401ef3d54cde6967c856b8fb362a91f406750767 (diff)
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 <adobriyan@gmail.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
-rw-r--r--drivers/ide/ide-proc.c2
1 files changed, 2 insertions, 0 deletions
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;
}