summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-04-07 19:53:00 (GMT)
committer Timothy Pearson <kb9vqf@pearsoncomputing.net>2015-04-07 19:53:00 (GMT)
commit669345d6b80ea91a19a93400798629c94055216e (patch)
tree5c18471d8ef92db6553207af12297fb5fb4f5e1d
parent5b95b86a5bbe9a4f558712b3e2173f90b7cd0dd5 (diff)
downloadtdelibs-669345d6.zip
tdelibs-669345d6.tar.gz
Classify memstick_host devices
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index eee2f0f..b0162f6 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2112,7 +2112,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (devicesubsystem == "tifm_adapter") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
}
- if (devicesubsystem == "mmc_host") {
+ if ((devicesubsystem == "mmc_host")
+ || (devicesubsystem == "memstick_host")) {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
}
if (devicesubsystem == "mmc") {