diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2007-11-02 06:17:40 +0300 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-11-02 06:17:40 +0300 |
commit | ee1fb2ba7420c20d9b68dd4aab0ff3f2572d6cc0 (patch) | |
tree | 84a8343bf4c1b4f4d9116552d67d0bd943b17198 | |
parent | 401ef3d54cde6967c856b8fb362a91f406750767 (diff) | |
download | linux-ee1fb2ba7420c20d9b68dd4aab0ff3f2572d6cc0.tar.xz |
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.c | 2 |
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; } |