Changeset 4745

Show
Ignore:
Timestamp:
09/04/07 15:57:33 (7 years ago)
Author:
khali
Message:

Fix lm93 VID support for Linux 2.6.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4741 r4745  
    77           Fix thmc50 support for Linux 2.6 
    88           Fix bmcsensors support for Linux 2.6 
     9           Fix lm93 VID support for Linux 2.6 
    910  Makefile: Fix kernel version detection (#2187) 
    1011  Module fscher: Add missing read of control register (2.6 backport) 
  • lm-sensors/trunk/lib/chips.c

    r4741 r4745  
    11941194                LM93_SYSCTL_TEMP##nr, VALUE(2), 1 } 
    11951195 
    1196 /* macro for LM93 VID entries */ 
    1197 #define SENSORS_LM93_VID(nr) \ 
    1198         { { SENSORS_LM93_VID##nr, "vid" #nr, NOMAP, NOMAP, R }, \ 
    1199                  LM93_SYSCTL_VID##nr, VALUE(1), 3 } 
    1200  
    12011196static sensors_chip_feature lm93_features[] = { 
    12021197        SENSORS_LM93_IN_MIN_MAX(1), 
     
    12231218        SENSORS_LM93_TEMP_MIN_MAX(2), 
    12241219        SENSORS_LM93_TEMP_MIN_MAX(3), 
    1225         SENSORS_LM93_VID(1), 
    1226         SENSORS_LM93_VID(2), 
     1220    { { SENSORS_LM93_VID1, "vid1", NOMAP, NOMAP, R }, 
     1221                          LM93_SYSCTL_VID1, VALUE(1), 3, "cpu0_vid", 3, "vid1" }, 
     1222    { { SENSORS_LM93_VID1, "vid2", NOMAP, NOMAP, R }, 
     1223                          LM93_SYSCTL_VID2, VALUE(1), 3, "cpu1_vid", 3, "vid2" }, 
    12271224    { { SENSORS_LM93_ALARMS, "alarms", NOMAP, NOMAP, R },  
    12281225                          LM93_SYSCTL_ALARMS, VALUE(1), 0 },