OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8084b2a
)
hwmon: (nct6683) Add another customer ID for NCT6683D sensor chip on some ASRock...
author
Daniel Dawson
<danielcdawson@gmail.com>
Tue, 21 Sep 2021 16:58:59 +0000
(09:58 -0700)
committer
Guenter Roeck
<linux@roeck-us.net>
Tue, 12 Oct 2021 14:22:39 +0000
(07:22 -0700)
This value was found on a Z370M Pro4 rev. 1.01, with an
NCT6683D-T chip.
Signed-off-by: Daniel Dawson <danielcdawson@gmail.com>
Link:
https://lore.kernel.org/r/20210921165859.48714-1-danielcdawson@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6683.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/nct6683.c
b/drivers/hwmon/nct6683.c
index
35f8635
..
6a9f420
100644
(file)
--- a/
drivers/hwmon/nct6683.c
+++ b/
drivers/hwmon/nct6683.c
@@
-174,6
+174,7
@@
superio_exit(int ioreg)
#define NCT6683_CUSTOMER_ID_MITAC 0xa0e
#define NCT6683_CUSTOMER_ID_MSI 0x201
#define NCT6683_CUSTOMER_ID_ASROCK 0xe2c
+#define NCT6683_CUSTOMER_ID_ASROCK2 0xe1b
#define NCT6683_REG_BUILD_YEAR 0x604
#define NCT6683_REG_BUILD_MONTH 0x605
@@
-1221,6
+1222,8
@@
static int nct6683_probe(struct platform_device *pdev)
break;
case NCT6683_CUSTOMER_ID_ASROCK:
break;
+ case NCT6683_CUSTOMER_ID_ASROCK2:
+ break;
default:
if (!force)
return -ENODEV;