|
|
|
@ -2151,7 +2151,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
|
|
|
|
|
if (devicesubsystem == "nd") {
|
|
|
|
|
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::RAM);
|
|
|
|
|
}
|
|
|
|
|
if (devicesubsystem == "ptp") {
|
|
|
|
|
if (devicesubsystem == "ptp"
|
|
|
|
|
|| (devicesubsystem == "rtc")) {
|
|
|
|
|
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Timekeeping);
|
|
|
|
|
}
|
|
|
|
|
if (devicesubsystem == "leds") {
|
|
|
|
@ -2185,8 +2186,7 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
|
|
|
|
|
if (devicesubsystem == "mmc") {
|
|
|
|
|
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
|
|
|
|
|
}
|
|
|
|
|
if ((devicesubsystem == "event_source")
|
|
|
|
|
|| (devicesubsystem == "rtc")) {
|
|
|
|
|
if (devicesubsystem == "event_source") {
|
|
|
|
|
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Mainboard);
|
|
|
|
|
}
|
|
|
|
|
if (devicesubsystem == "bsg") {
|
|
|
|
|