Changeset 1207

Show
Ignore:
Timestamp:
10/22/01 02:06:46 (12 years ago)
Author:
mds
Message:

add 7 drivers to mkpatch

Location:
lm-sensors/trunk/mkpatch
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/mkpatch/Config.in

    r1158 r1207  
    1414  if [ "$CONFIG_SENSORS" != "n" ]; then 
    1515    dep_tristate '  Analog Devices ADM1021 and compatibles' CONFIG_SENSORS_ADM1021 $CONFIG_I2C $CONFIG_I2C_PROC 
     16    dep_tristate '  Analog Devices ADM1024' CONFIG_SENSORS_ADM1024 $CONFIG_I2C $CONFIG_I2C_PROC 
    1617    dep_tristate '  Analog Devices ADM1025' CONFIG_SENSORS_ADM1025 $CONFIG_I2C $CONFIG_I2C_PROC 
    1718    dep_tristate '  Analog Devices ADM9240 and compatibles' CONFIG_SENSORS_ADM9240 $CONFIG_I2C $CONFIG_I2C_PROC 
     19    dep_tristate '  Dallas DS1621 and DS1625' CONFIG_SENSORS_DS1621 $CONFIG_I2C $CONFIG_I2C_PROC 
     20    dep_tristate '  Fujitsu-Siemens Poseidon' CONFIG_SENSORS_FSCPOS $CONFIG_I2C $CONFIG_I2C_PROC 
    1821    dep_tristate '  Genesys Logic GL518SM' CONFIG_SENSORS_GL518SM $CONFIG_I2C $CONFIG_I2C_PROC 
    1922    dep_tristate '  Genesys Logic GL520SM' CONFIG_SENSORS_GL520SM $CONFIG_I2C $CONFIG_I2C_PROC 
     23    dep_tristate '  HP Maxilife' CONFIG_SENSORS_MAXILIFE $CONFIG_I2C $CONFIG_I2C_PROC 
     24    dep_tristate '  ITE 8705/8712, SiS950' CONFIG_SENSORS_IT87 $CONFIG_I2C $CONFIG_I2C_PROC 
     25    dep_tristate '  Myson MTP008' CONFIG_SENSORS_MTP008 $CONFIG_I2C $CONFIG_I2C_PROC 
    2026    dep_tristate '  National Semiconductors LM75 and compatibles' CONFIG_SENSORS_LM75 $CONFIG_I2C $CONFIG_I2C_PROC 
    2127    dep_tristate '  National Semiconductors LM78' CONFIG_SENSORS_LM78 $CONFIG_I2C $CONFIG_I2C_PROC 
  • lm-sensors/trunk/mkpatch/mkpatch.pl

    r1174 r1207  
    110110  http://www.lm-sensors.nu 
    111111 
     112Acer Labs ALI 1535 
     113CONFIG_I2C_ALI1535 
     114  If you say yes to this option, support will be included for the Acer 
     115  Labs ALI 1535 mainboard I2C interface. This can also be  
     116  built as a module. 
     117 
    112118Acer Labs ALI 1533 and 1543C 
    113119CONFIG_I2C_ALI15X3 
     
    218224  http://www.lm-sensors.nu 
    219225 
     226Analog Devices ADM1024 
     227CONFIG_SENSORS_ADM1024 
     228  If you say yes here you get support for Analog Devices ADM1024 sensor 
     229  chips.  This can also be built as a module. 
     230 
     231  You will also need the latest user-space utilties: you can find them 
     232  in the lm_sensors package, which you can download at  
     233  http://www.lm-sensors.nu 
     234 
    220235Analog Devices ADM1025 
    221236CONFIG_SENSORS_ADM1025 
     
    240255  http://www.lm-sensors.nu 
    241256 
     257Dallas DS1621 and DS1625 
     258CONFIG_SENSORS_DS1621 
     259  If you say yes here you get support for the Dallas DS1621 and DS1625x 
     260  sensor chips.  This can also be built as a module. 
     261 
     262  You will also need the latest user-space utilties: you can find them 
     263  in the lm_sensors package, which you can download at  
     264  http://www.lm-sensors.nu 
     265 
     266Fujitsu-Siemens Poseidon 
     267CONFIG_SENSORS_FSCPOS 
     268  If you say yes here you get support for the Fujitsu-Siemens Poseidon 
     269  sensor chip.  This can also be built as a module. 
     270 
     271  You will also need the latest user-space utilties: you can find them 
     272  in the lm_sensors package, which you can download at  
     273  http://www.lm-sensors.nu 
     274 
    242275Genesys Logic GL518SM 
    243276CONFIG_SENSORS_GL518SM 
     
    255288  chips.  This can also be built as a module which can be inserted and 
    256289  removed while the kernel is running. 
     290 
     291  You will also need the latest user-space utilties: you can find them 
     292  in the lm_sensors package, which you can download at  
     293  http://www.lm-sensors.nu 
     294 
     295HP Maxilife 
     296CONFIG_SENSORS_MAXILIFE 
     297  If you say yes here you get support for the HP Maxilife 
     298  sensor chip.  This can also be built as a module. 
     299 
     300  You will also need the latest user-space utilties: you can find them 
     301  in the lm_sensors package, which you can download at  
     302  http://www.lm-sensors.nu 
     303 
     304ITE 8705, 8712, Sis950 
     305CONFIG_SENSORS_IT87 
     306  If you say yes here you get support for the ITE 8705 and 8712 and 
     307  SiS950 sensor chips.  This can also be built as a module. 
     308 
     309  You will also need the latest user-space utilties: you can find them 
     310  in the lm_sensors package, which you can download at  
     311  http://www.lm-sensors.nu 
     312 
     313Myson MTP008 
     314CONFIG_SENSORS_MTP008 
     315  If you say yes here you get support for the Myson MTP008 
     316  sensor chip.  This can also be built as a module. 
    257317 
    258318  You will also need the latest user-space utilties: you can find them 
     
    639699  bool 'I2C mainboard interfaces' CONFIG_I2C_MAINBOARD  
    640700  if [ "$CONFIG_I2C_MAINBOARD" = "y" ]; then 
     701    tristate '  Acer Labs ALI 1535' CONFIG_I2C_ALI1535  
    641702    tristate '  Acer Labs ALI 1533 and 1543C' CONFIG_I2C_ALI15X3  
    642703    dep_tristate '  Apple Hydra Mac I/O' CONFIG_I2C_HYDRA $CONFIG_I2C_ALGOBIT 
     
    688749obj-$(CONFIG_SENSORS)           += sensors.o 
    689750obj-$(CONFIG_SENSORS_ADM1021)   += adm1021.o 
     751obj-$(CONFIG_SENSORS_ADM1024)   += adm1024.o 
    690752obj-$(CONFIG_SENSORS_ADM1025)   += adm1025.o 
    691753obj-$(CONFIG_SENSORS_ADM9240)   += adm9240.o 
    692754obj-$(CONFIG_SENSORS_BT869)     += bt869.o 
    693755obj-$(CONFIG_SENSORS_DDCMON)    += ddcmon.o 
     756obj-$(CONFIG_SENSORS_DS1621)    += ds1621.o 
    694757obj-$(CONFIG_SENSORS_EEPROM)    += eeprom.o 
     758obj-$(CONFIG_SENSORS_FSCPOS)    += fscpos.o 
    695759obj-$(CONFIG_SENSORS_GL518SM)   += gl518sm.o 
    696760obj-$(CONFIG_SENSORS_GL520SM)   += gl520sm.o 
     761obj-$(CONFIG_SENSORS_IT87)      += it87.o 
    697762obj-$(CONFIG_SENSORS_LM75)      += lm75.o 
    698763obj-$(CONFIG_SENSORS_LM78)      += lm78.o 
    699764obj-$(CONFIG_SENSORS_LM80)      += lm80.o 
    700765obj-$(CONFIG_SENSORS_LM87)      += lm87.o 
     766obj-$(CONFIG_SENSORS_MAXILIFE)  += maxilife.o 
     767obj-$(CONFIG_SENSORS_MTP008)    += mtp008.o 
    701768obj-$(CONFIG_SENSORS_SIS5595)   += sis5595.o 
    702769obj-$(CONFIG_SENSORS_THMC50)    += thmc50.o 
     
    744811endif 
    745812 
     813ifeq ($(CONFIG_SENSORS_ADM1024),y) 
     814  L_OBJS += adm1024.o 
     815else 
     816  ifeq ($(CONFIG_SENSORS_ADM1024),m) 
     817    M_OBJS += adm1024.o 
     818  endif 
     819endif 
     820 
    746821ifeq ($(CONFIG_SENSORS_ADM1025),y) 
    747822  L_OBJS += adm1025.o 
     
    768843endif 
    769844 
     845ifeq ($(CONFIG_SENSORS_DS1621),y) 
     846  L_OBJS += ds1621.o 
     847else 
     848  ifeq ($(CONFIG_SENSORS_DS1621),m) 
     849    M_OBJS += ds1621.o 
     850  endif 
     851endif 
     852 
    770853ifeq ($(CONFIG_SENSORS_EEPROM),y) 
    771854  L_OBJS += eeprom.o 
     
    776859endif 
    777860 
     861ifeq ($(CONFIG_SENSORS_FSCPOS),y) 
     862  L_OBJS += fscpos.o 
     863else 
     864  ifeq ($(CONFIG_SENSORS_FSCPOS),m) 
     865    M_OBJS += fscpos.o 
     866  endif 
     867endif 
     868 
    778869ifeq ($(CONFIG_SENSORS_GL518SM),y) 
    779870  L_OBJS += gl518sm.o 
     
    792883endif 
    793884 
     885ifeq ($(CONFIG_SENSORS_IT87),y) 
     886  L_OBJS += it87.o 
     887else 
     888  ifeq ($(CONFIG_SENSORS_IT87),m) 
     889    M_OBJS += it87.o 
     890  endif 
     891endif 
     892 
    794893ifeq ($(CONFIG_SENSORS_LM75),y) 
    795894  L_OBJS += lm75.o 
     
    829928  ifeq ($(CONFIG_SENSORS_MATORB),m) 
    830929    M_OBJS += matorb.o 
     930  endif 
     931endif 
     932 
     933ifeq ($(CONFIG_SENSORS_MAXILIFE),y) 
     934  L_OBJS += maxilife.o 
     935else 
     936  ifeq ($(CONFIG_SENSORS_MAXILIFE),m) 
     937    M_OBJS += maxilife.o 
     938  endif 
     939endif 
     940 
     941ifeq ($(CONFIG_SENSORS_MTP008),y) 
     942  L_OBJS += mtp008.o 
     943else 
     944  ifeq ($(CONFIG_SENSORS_MTP008),m) 
     945    M_OBJS += mtp008.o 
    831946  endif 
    832947endif 
     
    8991014      if ($new_format) { 
    9001015        print OUTPUT << 'EOF'; 
     1016obj-$(CONFIG_I2C_ALI1535)               += i2c-ali1535.o 
    9011017obj-$(CONFIG_I2C_ALI15X3)               += i2c-ali15x3.o 
    9021018obj-$(CONFIG_I2C_AMD756)                += i2c-amd756.o 
     
    9141030      } else { 
    9151031        print OUTPUT << 'EOF'; 
     1032ifeq ($(CONFIG_I2C_ALI1535),y) 
     1033  L_OBJS += i2c-ali1535.o 
     1034else  
     1035  ifeq ($(CONFIG_I2C_ALI1535),m) 
     1036    M_OBJS += i2c-ali1535.o 
     1037  endif 
     1038endif 
     1039 
    9161040ifeq ($(CONFIG_I2C_ALI15X3),y) 
    9171041  L_OBJS += i2c-ali15x3.o 
     
    10471171      if ($patch_nr == 1) { 
    10481172        print OUTPUT << 'EOF'; 
     1173#ifdef CONFIG_I2C_ALI1535 
     1174        extern int i2c_ali1535_init(void); 
     1175#endif 
    10491176#ifdef CONFIG_I2C_ALI15X3 
    10501177        extern int i2c_ali15x3_init(void); 
     
    10861213      } elsif ($patch_nr == 2) { 
    10871214      print OUTPUT << 'EOF'; 
     1215#ifdef CONFIG_I2C_ALI1535 
     1216        i2c_ali1535_init(); 
     1217#endif 
    10881218#ifdef CONFIG_I2C_ALI15X3 
    10891219        i2c_ali15x3_init();