Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163407015
D58291.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D58291.id.diff
View Options
diff --git a/sys/dev/ncthwm/ncthwm.c b/sys/dev/ncthwm/ncthwm.c
--- a/sys/dev/ncthwm/ncthwm.c
+++ b/sys/dev/ncthwm/ncthwm.c
@@ -39,7 +39,7 @@
#include <machine/bus.h>
#include <machine/resource.h>
-#define NCTHWM_FAN_MAX 5
+#define NCTHWM_FAN_MAX 7
#define NCTHWM_BANK_SELECT 0x4e
#define NCTHWM_VENDOR_ID 0x4f
@@ -98,6 +98,21 @@
{ .name = "AUXFAN1", .low_byte_offset = 0xc7, .high_byte_offset = 0xc6 },
{ .name = "AUXFAN2", .low_byte_offset = 0xc9, .high_byte_offset = 0xc8 },
},
+ }, {
+ .devid = 0xd42b,
+ .descr = "HWM on Nuvoton NCT6798D",
+ .base_offset = 5,
+ .fan_bank = 4,
+ .fan_count = 7,
+ .fan_info = {
+ { .name = "SYSFAN", .low_byte_offset = 0xc1, .high_byte_offset = 0xc0 },
+ { .name = "CPUFAN", .low_byte_offset = 0xc3, .high_byte_offset = 0xc2 },
+ { .name = "AUXFAN0", .low_byte_offset = 0xc5, .high_byte_offset = 0xc4 },
+ { .name = "AUXFAN1", .low_byte_offset = 0xc7, .high_byte_offset = 0xc6 },
+ { .name = "AUXFAN2", .low_byte_offset = 0xc9, .high_byte_offset = 0xc8 },
+ { .name = "AUXFAN3", .low_byte_offset = 0xcb, .high_byte_offset = 0xca },
+ { .name = "AUXFAN4", .low_byte_offset = 0xcf, .high_byte_offset = 0xce },
+ },
}
};
diff --git a/sys/dev/superio/superio.c b/sys/dev/superio/superio.c
--- a/sys/dev/superio/superio.c
+++ b/sys/dev/superio/superio.c
@@ -452,6 +452,11 @@
.descr = "Nuvoton NCT5585D",
.devices = nct5585_devices,
},
+ {
+ .vendor = SUPERIO_VENDOR_NUVOTON, .devid = 0xd42b,
+ .descr = "Nuvoton NCT6798D",
+ .devices = nct67xx_devices,
+ },
{
.vendor = SUPERIO_VENDOR_NUVOTON, .devid = 0xc800, .mask = 0xff,
.descr = "Nuvoton NCT6791",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 10:44 PM (5 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35398020
Default Alt Text
D58291.id.diff (1 KB)
Attached To
Mode
D58291: superio, ncthwm: add support for the Nuvoton NCT6798D
Attached
Detach File
Event Timeline
Log In to Comment