diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-02-04 21:04:18 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-02-04 21:04:18 +0100 |
commit | 613eadbbc35a25f19c205c32eeeb0b890d468aa6 (patch) | |
tree | 7a1927fca75b8729153995758baa82a3df18731c /tdecore/tdehw/tdehardwaredevices.cpp | |
parent | ef7180dad939e407f0efd9a02ffcac6ab249f866 (diff) | |
download | tdelibs-613eadbbc35a25f19c205c32eeeb0b890d468aa6.tar.gz tdelibs-613eadbbc35a25f19c205c32eeeb0b890d468aa6.zip |
Add a rule for classifying ATA Compact Flash Adapter
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index c2a7fd788..4da8382ae 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -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; } |