Changeset 1671

Show
Ignore:
Timestamp:
12/14/02 02:04:12 (11 years ago)
Author:
mds
Message:

keep tsunami from compiling on non-alphas in mkpatched kernel

(tickets 1047, 1086; last fix didn't work);
add vt8231 to mkpatched Makefile so it will compile

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r1668 r1671  
    2121  File sensors.conf.eg: Fix vt1211/vt8231 thermistor calculations 
    2222  Library: Add support for exponents and logarithms for vt1211/vt8235 
     23  Program mkpatch: Fix vt8231 compile; keep tsunami from menu on non-alpha 
    2324  Program sensors-detect: Add super i/o detection (smsc47m1, vt1211, 
    2425                          w83627hf, w83697hf) 
     
    3031  File doc/busses/i2c-sis645: Add license 
    3132  File doc/chips/lm92: Add license, features 
    32   File doc/chips/maxilife: Add license, parameters, features 
     33u File doc/chips/maxilife: Add license, parameters, features 
    3334  File doc/chips/smartbatt: Complete rewrite 
    3435  File doc/chips/vt8231: Add license, parameters 
  • lm-sensors/trunk/mkpatch/mkpatch.pl

    r1658 r1671  
    501501  http://www.lm-sensors.nu 
    502502 
     503Via VT8231 Sensors 
     504CONFIG_SENSORS_VT8231 
     505  If you say yes here you get support for the integrated sensors in  
     506  the Via VT8231 device. This can also be built as a module  
     507  which can be inserted and removed while the kernel is running. 
     508 
     509  You will also need the latest user-space utilties: you can find them 
     510  in the lm_sensors package, which you can download at  
     511  http://www.lm-sensors.nu 
     512 
    503513Winbond W83781D, W83782D, W83783S, W83627HF, AS99127F 
    504514CONFIG_SENSORS_W83781D 
     
    811821    dep_tristate '  AMD 756/766/768/8111' CONFIG_I2C_AMD756 $CONFIG_I2C 
    812822    dep_tristate '  AMD 8111 SMBus 2.0' CONFIG_I2C_AMD8111 $CONFIG_I2C 
    813     dep_tristate '  DEC Tsunami I2C interface' CONFIG_I2C_TSUNAMI $CONFIG_I2C_ALGOBIT $CONFIG_ALPHA 
     823    if [ "$CONFIG_ALPHA" = "y" ]; then 
     824      dep_tristate '  DEC Tsunami I2C interface' CONFIG_I2C_TSUNAMI $CONFIG_I2C_ALGOBIT 
     825    fi 
    814826    dep_tristate '  Intel 82801AA, AB, BA, DB' CONFIG_I2C_I801 $CONFIG_I2C 
    815827    dep_tristate '  Intel i810AA/AB/E and i815' CONFIG_I2C_I810 $CONFIG_I2C_ALGOBIT 
     
    886898obj-$(CONFIG_SENSORS_VIA686A)   += via686a.o 
    887899obj-$(CONFIG_SENSORS_VT1211)    += vt1211.o 
     900obj-$(CONFIG_SENSORS_VT8231)    += vt8231.o 
    888901obj-$(CONFIG_SENSORS_W83781D)   += w83781d.o 
    889902 
     
    11331146  ifeq ($(CONFIG_SENSORS_VT1211),m) 
    11341147    M_OBJS += vt1211.o 
     1148  endif 
     1149endif 
     1150 
     1151ifeq ($(CONFIG_SENSORS_VT8211),y) 
     1152  L_OBJS += vt8231.o 
     1153else 
     1154  ifeq ($(CONFIG_SENSORS_VT8231),m) 
     1155    M_OBJS += vt8231.o 
    11351156  endif 
    11361157endif