summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-07-23 18:35:54 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2016-07-23 18:35:54 -0500
commitd82b64cbbd83f4b8b18b86b689daf3a6aa4ef0c9 (patch)
tree175866842198b1f193f526f8b6bf3b045939f2d9 /tdecore/tdehw
parentd15fe834b1c98aa86c2f24602552ec58a9e16f93 (diff)
downloadtdelibs-d82b64cbbd83f4b8b18b86b689daf3a6aa4ef0c9.tar.gz
tdelibs-d82b64cbbd83f4b8b18b86b689daf3a6aa4ef0c9.zip
Add IBM VIO device
Diffstat (limited to 'tdecore/tdehw')
-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);