summaryrefslogtreecommitdiff
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorDanny Kukawka <dkukawka@suse.de>2007-04-10 20:39:14 (GMT)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-04-10 20:39:14 (GMT)
commita7a832de9e9624bcf069a5369c3c38ba2f44d460 (patch)
tree3776f380d5031de1e0c6fbe248bba2bbfe1cf5d1 /drivers/ide/ide.c
parent76ca1af10e28021e1894c5703da42b5e7bff1771 (diff)
downloadlinux-a7a832de9e9624bcf069a5369c3c38ba2f44d460.tar.xz
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>
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c2
1 files changed, 2 insertions, 0 deletions
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 @@ static char *media_string(ide_drive_t *drive)
return "tape";
case ide_floppy:
return "floppy";
+ case ide_optical:
+ return "optical";
default:
return "UNKNOWN";
}