it works on nct6683 too

https://github.com/Fred78290/nct6687d/issues/82
This commit is contained in:
SergeyMy 2023-11-28 20:27:08 +05:00 committed by GitHub
parent 390bc92839
commit 20574d2335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,7 +169,8 @@ static inline void superio_exit(int ioreg)
#define NCT6687_REG_FAN_CTRL_MODE(x) 0xA00 #define NCT6687_REG_FAN_CTRL_MODE(x) 0xA00
#define NCT6687_REG_FAN_PWM_COMMAND(x) 0xA01 #define NCT6687_REG_FAN_PWM_COMMAND(x) 0xA01
#define NCT6687_FAN_CFG_REQ 0x80 #define NCT6687_FAN_CFG_REQ 0x80
#define NCT6687_FAN_CFG_DONE 0x40 //#define NCT6683_FAN_CFG_DONE 0x40 //! for 6683 returns auto mode and clears 0xA00, 0xA28-0xA2F registers
#define NCT6683_FAN_CFG_DONE 0x00 //! tested on 6683 6687
#define NCT6687_REG_BUILD_YEAR 0x604 #define NCT6687_REG_BUILD_YEAR 0x604
#define NCT6687_REG_BUILD_MONTH 0x605 #define NCT6687_REG_BUILD_MONTH 0x605