diff options
author | Danny Kukawka <dkukawka@suse.de> | 2007-04-10 22:39:14 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-04-10 22:39:14 +0200 |
commit | a7a832de9e9624bcf069a5369c3c38ba2f44d460 (patch) | |
tree | 3776f380d5031de1e0c6fbe248bba2bbfe1cf5d1 /drivers/ide | |
parent | 76ca1af10e28021e1894c5703da42b5e7bff1771 (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')
-rw-r--r-- | drivers/ide/ide.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index a6f098fda88..ae5bf2be6f5 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"; } |