From 3d06098ece39d7a2e2d292b28fd0e165b3b4f43e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 9 Jul 2014 14:33:49 -0500 Subject: Add a few unclassified devices to the TDE HW manager database --- tdecore/tdehw/tdehardwaredevices.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tdecore/tdehw') diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index dd46e3d1b..15fda056a 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -2025,6 +2025,7 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD || (devicesubsystem == "sas_host") || (devicesubsystem == "sas_port") || (devicesubsystem == "sas_device") + || (devicesubsystem == "sas_expander") || (devicesubsystem == "sas_generic") || (devicesubsystem == "sas_phy") || (devicesubsystem == "sas_end_device") @@ -2041,15 +2042,20 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Peripheral); } if ((devicesubsystem == "infiniband_cm") - || (devicesubsystem == "infiniband_mad")) { + || (devicesubsystem == "infiniband_mad") + || (devicesubsystem == "infiniband_verbs")) { if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); } + if (devicesubsystem == "infiniband_srp") { + if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::SCSI); + } if ((devicesubsystem == "enclosure") || (devicesubsystem == "clocksource") || (devicesubsystem == "amba")) { if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); } - if (devicesubsystem == "ipmi_si") { + if ((devicesubsystem == "ipmi") + || (devicesubsystem == "ipmi_si")) { if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Mainboard); } if (devicesubsystem == "misc") { -- cgit v1.2.1