aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorDanny Kukawka <dkukawka@suse.de>2007-04-10 16:39:14 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-04-10 16:39:14 -0400
commita7a832de9e9624bcf069a5369c3c38ba2f44d460 (patch)
tree3776f380d5031de1e0c6fbe248bba2bbfe1cf5d1 /drivers/ide/ide.c
parent76ca1af10e28021e1894c5703da42b5e7bff1771 (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: 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 a6f098fda884..ae5bf2be6f52 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1962,6 +1962,8 @@ static char *media_string(ide_drive_t *drive)
1962 return "tape"; 1962 return "tape";
1963 case ide_floppy: 1963 case ide_floppy:
1964 return "floppy"; 1964 return "floppy";
1965 case ide_optical:
1966 return "optical";
1965 default: 1967 default:
1966 return "UNKNOWN"; 1968 return "UNKNOWN";
1967 } 1969 }