From d82b64cbbd83f4b8b18b86b689daf3a6aa4ef0c9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 23 Jul 2016 18:35:54 -0500 Subject: Add IBM VIO device --- tdecore/tdehw/tdehardwaredevices.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.1