mirror of
https://github.com/Fred78290/nct6687d
synced 2024-11-16 07:48:04 +01:00
Accept NCT6683D (0xc732)
Found on ASRock Taichi B550. Fan control works with this driver, but not with the in-tree driver.
This commit is contained in:
parent
15d09bd6df
commit
93064a7569
1 changed files with 2 additions and 1 deletions
|
@ -71,6 +71,7 @@ static const char *const nct6687_chip_names[] = {
|
|||
#define SIO_REG_ENABLE 0x30 /* Logical device enable */
|
||||
#define SIO_REG_ADDR 0x60 /* Logical device address (2 bytes) */
|
||||
|
||||
#define SIO_NCT6683D_ID 0xc732
|
||||
#define SIO_NCT6687_ID 0xd451 // 0xd592
|
||||
#define SIO_NCT6687D_ID 0xd592
|
||||
|
||||
|
@ -1038,7 +1039,7 @@ static int __init nct6687_find(int sioaddr, struct nct6687_sio_data *sio_data)
|
|||
|
||||
pr_debug("found chip ID: 0x%04x\n", val);
|
||||
|
||||
if (val == SIO_NCT6687_ID || val == SIO_NCT6687D_ID)
|
||||
if (val == SIO_NCT6683D_ID || val == SIO_NCT6687_ID || val == SIO_NCT6687D_ID)
|
||||
{
|
||||
sio_data->kind = nct6687;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue