commit | a7a832de9e9624bcf069a5369c3c38ba2f44d460 | [log] [tgz] |
---|---|---|
author | Danny Kukawka <dkukawka@suse.de> | Tue Apr 10 22:39:14 2007 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Apr 10 22:39:14 2007 +0200 |
tree | 3776f380d5031de1e0c6fbe248bba2bbfe1cf5d1 | |
parent | 76ca1af10e28021e1894c5703da42b5e7bff1771 [diff] [blame] |
ide: add "optical" to sysfs "media" attribute Add "optical" to sysfs "media" attribute as already in /proc Signed-off-by: Danny Kukawka <dkukawka@suse.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index a6f098f..ae5bf2b 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c
@@ -1962,6 +1962,8 @@ return "tape"; case ide_floppy: return "floppy"; + case ide_optical: + return "optical"; default: return "UNKNOWN"; }