summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-07-09 14:33:49 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-07-09 14:33:49 -0500
commit3d06098ece39d7a2e2d292b28fd0e165b3b4f43e (patch)
tree694777914f67c045767b8b41fc0cff868beea6b7 /tdecore/tdehw
parent4ca479102d0a1313ee8307d6045d0e46d6aa67f9 (diff)
downloadtdelibs-3d06098ece39d7a2e2d292b28fd0e165b3b4f43e.tar.gz
tdelibs-3d06098ece39d7a2e2d292b28fd0e165b3b4f43e.zip
Add a few unclassified devices to the TDE HW manager database
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp10
1 files changed, 8 insertions, 2 deletions
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") {