mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-18 11:09:32 +00:00
The original adm1026 driver numbered the fans from 0 to 7, and so does
libsensors. The Linux 2.6 adm1026 driver uses the standard numebring (from 1 to 8). Map fan0 to fan8 to make things work while keeping confusion to the minimum (hopefully.) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4118 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
78e85df9ff
commit
08a1bd9684
2 files changed
+4
-3
No files matched your search
@@ -15,6 +15,7 @@ lm_sensors CHANGES file
|
||||
Fix no sensors being reported as an error
|
||||
Add support for the IT8716F and IT8718F chips
|
||||
Add support for the W83793 chip (Yuan Mu)
|
||||
Map the 2.6 adm1026's fan8 to fan0
|
||||
Makefile: Don't grep autoconf.h on user-space targets
|
||||
Fix depmod on non-running kernel version
|
||||
Module i2c-ali1535: Drop redundant semaphore (2.6 backport)
|
||||
|
||||
+3
-3
@@ -2969,13 +2969,13 @@ static sensors_chip_feature adm1026_features[] = {
|
||||
ADM1026_SYSCTL_IN16, VALUE(2), 3 },
|
||||
{ SENSORS_ADM1026_FAN0, "fan0",
|
||||
NOMAP, NOMAP, R,
|
||||
ADM1026_SYSCTL_FAN0, VALUE(2), 0 },
|
||||
ADM1026_SYSCTL_FAN0, VALUE(2), 0, "fan8_input", 0 },
|
||||
{ SENSORS_ADM1026_FAN0_MIN, "fan0_min",
|
||||
SENSORS_ADM1026_FAN0, SENSORS_ADM1026_FAN0, RW,
|
||||
ADM1026_SYSCTL_FAN0, VALUE(1), 0 },
|
||||
ADM1026_SYSCTL_FAN0, VALUE(1), 0, "fan8_min", 0 },
|
||||
{ SENSORS_ADM1026_FAN0_DIV, "fan0_div",
|
||||
SENSORS_ADM1026_FAN0, NOMAP, RW,
|
||||
ADM1026_SYSCTL_FAN_DIV, VALUE(1), 0 },
|
||||
ADM1026_SYSCTL_FAN_DIV, VALUE(1), 0, "fan8_div", 0 },
|
||||
{ SENSORS_ADM1026_FAN1, "fan1",
|
||||
NOMAP, NOMAP, R,
|
||||
ADM1026_SYSCTL_FAN1, VALUE(2), 0 },
|
||||
|
||||
Reference in new issue
Block a user