summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index ff5484a59..b2af2faca 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2065,6 +2065,9 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
// This might pick up thermal sensors
if (!device) device = new TDESensorDevice(TDEGenericDeviceType::OtherSensor);
}
+ else if (devicesubsystem == "vio") {
+ if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
+ }
else if (devicesubsystem == "virtio") {
if (devicedriver == "virtio_blk") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::SCSI);