Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Kukawka <dkukawka@suse.de>2007-11-02 04:19:29 +0100
committerAdrian Bunk <bunk@kernel.org>2007-11-02 04:19:29 +0100
commit4bf758b67ba133be643f5965ce29f7dca1347538 (patch)
treef6a82dfc5cc9496e852dc3dda27391a824aa1695
parentee1fb2ba7420c20d9b68dd4aab0ff3f2572d6cc0 (diff)
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: Adrian Bunk <bunk@kernel.org>
-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 1485ba8e05c9..411d53b3ef9e 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1902,6 +1902,8 @@ static char *media_string(ide_drive_t *drive)
return "tape";
case ide_floppy:
return "floppy";
+ case ide_optical:
+ return "optical";
default:
return "UNKNOWN";
}