Browse Source

Remove NVIDIA Windows only print and apply to all i2c interfaces

merge-requests/870/head
TheRogueZeta 2 months ago
parent
commit
922659cab0
  1. 2
      ResourceManager.cpp
  2. 2
      i2c_smbus/i2c_smbus_nvapi.cpp

2
ResourceManager.cpp

@ -130,7 +130,7 @@ ResourceManager::~ResourceManager()
void ResourceManager::RegisterI2CBus(i2c_smbus_interface *bus)
{
LOG_INFO("Registering I2C interface: %s", bus->device_name);
LOG_INFO("Registering I2C interface: %s Device %04X:%04X Subsystem: %04X:%04X", bus->device_name, bus->pci_vendor, bus->pci_device,bus->pci_subsystem_vendor,bus->pci_subsystem_device);
busses.push_back(bus);
}

2
i2c_smbus/i2c_smbus_nvapi.cpp

@ -7,7 +7,6 @@
\*-----------------------------------------*/
#include "i2c_smbus_nvapi.h"
#include "LogManager.h"
i2c_smbus_nvapi::i2c_smbus_nvapi(NV_PHYSICAL_GPU_HANDLE handle)
{
@ -150,7 +149,6 @@ bool i2c_smbus_nvapi_detect()
nvapi_bus->pci_subsystem_device = sub_system_id >> 16;
nvapi_bus->pci_subsystem_vendor = sub_system_id & 0xffff;
nvapi_bus->port_id = 1;
LOG_INFO("NVIDIA GPU Device %04X:%04X Subsystem: %04X:%04X", nvapi_bus->pci_vendor, nvapi_bus->pci_device,nvapi_bus->pci_subsystem_vendor,nvapi_bus->pci_subsystem_device);
}
ResourceManager::get()->RegisterI2CBus(nvapi_bus);

Loading…
Cancel
Save