Classify memstick_host devices

(cherry picked from commit 669345d6b8)
pull/16/head
Timothy Pearson 10 years ago committed by Slávek Banko
parent c88f021085
commit 08e045c17a

@ -2112,7 +2112,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (devicesubsystem == "tifm_adapter") { if (devicesubsystem == "tifm_adapter") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController); 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 (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
} }
if (devicesubsystem == "mmc") { if (devicesubsystem == "mmc") {

Loading…
Cancel
Save