From 78a47be4ae307f2b7688913c25ec7982022ad6b3 Mon Sep 17 00:00:00 2001 From: mirh Date: Sat, 3 Feb 2024 21:51:02 +0100 Subject: [PATCH] Fix ITE8688 typo --- .../GigabyteSuperIORGBControllerDetect.cpp | 2 +- .../RGBController_GigabyteSuperIORGB.cpp | 4 ++-- super_io/super_io.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Controllers/GigabyteSuperIORGBController/GigabyteSuperIORGBControllerDetect.cpp b/Controllers/GigabyteSuperIORGBController/GigabyteSuperIORGBControllerDetect.cpp index 0ca0e77c..2830c672 100644 --- a/Controllers/GigabyteSuperIORGBController/GigabyteSuperIORGBControllerDetect.cpp +++ b/Controllers/GigabyteSuperIORGBController/GigabyteSuperIORGBControllerDetect.cpp @@ -51,7 +51,7 @@ void DetectGigabyteSuperIORGBControllers() switch(val & SIO_ID_MASK) { - case SIO_ITE688_ID: + case SIO_ITE8688_ID: for(unsigned int i = 0; i < NUM_COMPATIBLE_DEVICES; i++) { if (board_dmi.find(std::string(compatible_devices[i].name)) != std::string::npos) diff --git a/Controllers/GigabyteSuperIORGBController/RGBController_GigabyteSuperIORGB.cpp b/Controllers/GigabyteSuperIORGBController/RGBController_GigabyteSuperIORGB.cpp index f87d6c9d..9cf2fae4 100644 --- a/Controllers/GigabyteSuperIORGBController/RGBController_GigabyteSuperIORGB.cpp +++ b/Controllers/GigabyteSuperIORGBController/RGBController_GigabyteSuperIORGB.cpp @@ -67,7 +67,7 @@ To add this chipset you will need to first add it to the SuperIO definitions file, which is named super_io.h like below ```c++ - #define SIO_ITE688_ID 0x8688 // Device ID for ITE8688 (8688) + #define SIO_ITE8688_ID 0x8688 // Device ID for ITE8688 (8688) #define SIO_NEWCHIPSETMODEL_ID 0xFOUNDHEXIDECIMALVALUE // Device ID for NEWCHIPSETMODEL (FOUNDHEXIDECIMALVALUE) ``` @@ -77,7 +77,7 @@ ```c++ switch (val & SIO_ID_MASK) { - case SIO_ITE688_ID: + case SIO_ITE8688_ID: case SIO_NEWCHIPSETMODEL_ID: ``` \*-------------------------------------------------------------------*/ diff --git a/super_io/super_io.h b/super_io/super_io.h index 72d2b20a..a8061558 100644 --- a/super_io/super_io.h +++ b/super_io/super_io.h @@ -19,7 +19,7 @@ #define SIO_NCT6796_ID 0xd420 /* Device ID for NCT6796D (D421) */ #define SIO_NCT6797_ID 0xd450 /* Device ID for NCT6797D (D450) */ #define SIO_NCT6798_ID 0xd428 /* Device ID for NCT6798D (D428) */ -#define SIO_ITE688_ID 0x8688 /* Device ID for ITE8688 (8688) */ +#define SIO_ITE8688_ID 0x8688 /* Device ID for ITE8688 (8688) */ #define SIO_REG_LOGDEV 0x07 /* Logical Device Register */ #define SIO_REG_DEVID 0x20 /* Device ID Register */ #define SIO_REG_SMBA 0x62 /* SMBus Base Address Register */