From: Mike Brudevold Date: Fri, 16 Apr 2010 00:55:50 +0000 (-0500) Subject: cdrom_id: add missing profiles to feature_profiles X-Git-Tag: 174~546 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=7c07740ce7b0941844b15573449a730283d5bba5;p=elogind.git cdrom_id: add missing profiles to feature_profiles Signed-off-by: Mike Brudevold --- diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c index 722b8f8f4..da2785ee3 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/extras/cdrom_id/cdrom_id.c @@ -274,6 +274,18 @@ static int feature_profiles(struct udev *udev, const unsigned char *profiles, si info(udev, "profile 0x%02x mo\n", profile); cd_mo = 1; break; + case 0x08: + info(udev, "profile 0x%02x cd_rom\n", profile); + cd_cd_rom = 1; + break; + case 0x09: + info(udev, "profile 0x%02x cd_r\n", profile); + cd_cd_r = 1; + break; + case 0x0A: + info(udev, "profile 0x%02x cd_rw\n", profile); + cd_cd_rw = 1; + break; case 0x10: info(udev, "profile 0x%02x dvd_rom\n", profile); cd_dvd_rom = 1;