Commit 4bf758b6 authored by Danny Kukawka's avatar Danny Kukawka Committed by Adrian Bunk

ide: add "optical" to sysfs "media" attribute

Add "optical" to sysfs "media" attribute as already in /proc
Signed-off-by: default avatarDanny Kukawka <dkukawka@suse.de>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent ee1fb2ba
......@@ -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";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment