Update MSI GPU controller to use I2C PCI detector

This commit is contained in:
Adam Honse
2022-05-23 19:09:05 -05:00
parent 8a807a7cf7
commit a3a9817eaa
3 changed files with 59 additions and 91 deletions

View File

@@ -8,10 +8,10 @@
#include "MSIGPUController.h"
#include <cstring>
MSIGPUController::MSIGPUController(i2c_smbus_interface* bus)
MSIGPUController::MSIGPUController(i2c_smbus_interface* bus, msi_gpu_dev_id dev)
{
this->bus = bus;
this->dev = 0x68;
this->dev = dev;
}
MSIGPUController::~MSIGPUController()