Commit a7a832de authored by Danny Kukawka's avatar Danny Kukawka Committed by Bartlomiej Zolnierkiewicz

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 avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 76ca1af1
......@@ -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";
}
......
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