Add a rule for classifying ATA Compact Flash Adapter

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent ef7180dad9
commit 613eadbbc3

@ -1044,7 +1044,8 @@ TDEDiskDeviceType::TDEDiskDeviceType classifyDiskType(udev_device* dev, const TQ
}
if ((disktypestring.upper() == "COMPACT_FLASH")
|| (TQString(udev_device_get_property_value(dev, "ID_DRIVE_FLASH_CF")) == "1")) {
|| (TQString(udev_device_get_property_value(dev, "ID_DRIVE_FLASH_CF")) == "1")
|| (TQString(udev_device_get_property_value(dev, "ID_ATA_CFA")) == "1")) {
disktype = disktype | TDEDiskDeviceType::CompactFlash;
disktype = disktype | TDEDiskDeviceType::HDD;
}

Loading…
Cancel
Save