Changeset 1424

Show
Ignore:
Timestamp:
07/05/02 20:59:29 (12 years ago)
Author:
mds
Message:

add i2c-savage4, lm92, pcf8574, pcf8591, smsc47m1, vt1211

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/sensors.c

    r1156 r1424  
    5959extern int sensors_lm87_init(void); 
    6060#endif 
     61#ifdef CONFIG_SENSORS_LM92 
     62extern int sensors_lm92_init(void); 
     63#endif 
    6164#ifdef CONFIG_SENSORS_MTP008 
    6265extern int sensors_mtp008_init(void); 
    6366#endif 
     67#ifdef CONFIG_SENSORS_PCF8574 
     68extern int sensors_pcf8574_init(void); 
     69#endif 
     70#ifdef CONFIG_SENSORS_PCF8591 
     71extern int sensors_pcf8591_init(void); 
     72#endif 
    6473#ifdef CONFIG_SENSORS_SIS5595 
    6574extern int sensors_sis5595_init(void); 
     75#endif 
     76#ifdef CONFIG_SENSORS_SMSC47M1 
     77extern int sensors_smsc47m1_init(void); 
    6678#endif 
    6779#ifdef CONFIG_SENSORS_THMC50 
     
    7082#ifdef CONFIG_SENSORS_VIA686A 
    7183extern int sensors_via686a_init(void); 
     84#endif 
     85#ifdef CONFIG_SENSORS_VT1211 
     86extern int sensors_vt1211_init(void); 
    7287#endif 
    7388#ifdef CONFIG_SENSORS_W83781D 
     
    122137        sensors_lm87_init(); 
    123138#endif 
     139#ifdef CONFIG_SENSORS_LM92 
     140        sensors_lm92_init(); 
     141#endif 
     142#ifdef CONFIG_SENSORS_PCF8574 
     143        sensors_pcf8574_init(); 
     144#endif 
     145#ifdef CONFIG_SENSORS_PCF8591 
     146        sensors_pcf8591_init(); 
     147#endif 
    124148#ifdef CONFIG_SENSORS_MTP008 
    125149        sensors_mtp008_init(); 
     
    128152        sensors_sis5595_init(); 
    129153#endif 
     154#ifdef CONFIG_SENSORS_SMSC47M1 
     155        sensors_smsc47m1_init(); 
     156#endif 
    130157#ifdef CONFIG_SENSORS_THMC50 
    131158        sensors_thmc50_init(); 
     
    133160#ifdef CONFIG_SENSORS_VIA686A 
    134161        sensors_via686a_init(); 
     162#endif 
     163#ifdef CONFIG_SENSORS_VT1211 
     164        sensors_vt1211_init(); 
    135165#endif 
    136166#ifdef CONFIG_SENSORS_W83781D 
  • lm-sensors/trunk/mkpatch/mkpatch.pl

    r1293 r1424  
    354354  http://www.lm-sensors.nu 
    355355 
    356 National Semiconductors LM75 and compatibles 
     356National Semiconductor LM75 and compatibles 
    357357CONFIG_SENSORS_LM75  
    358358  If you say yes here you get support for National Semiconductor LM75 
     
    365365  http://www.lm-sensors.nu 
    366366 
    367 National Semiconductors LM78 
     367National Semiconductor LM78 
    368368CONFIG_SENSORS_LM78 
    369369  If you say yes here you get support for National Semiconductor LM78 
     
    377377  http://www.lm-sensors.nu 
    378378 
    379 National Semiconductors LM80 
     379National Semiconductor LM80 
    380380CONFIG_SENSORS_LM80 
    381381  If you say yes here you get support for National Semiconductor LM80 
     
    387387  http://www.lm-sensors.nu 
    388388 
    389 National Semiconductors LM87 
     389National Semiconductor LM87 
    390390CONFIG_SENSORS_LM87 
    391391  If you say yes here you get support for National Semiconductor LM87 
     
    397397  http://www.lm-sensors.nu 
    398398 
     399National Semiconductor LM92 
     400CONFIG_SENSORS_LM92 
     401  If you say yes here you get support for National Semiconductor LM92 
     402  sensor chips. This can also be built as a module which can be  
     403  inserted and removed while the kernel is running. 
     404 
     405  You will also need the latest user-space utilties: you can find them 
     406  in the lm_sensors package, which you can download at  
     407  http://www.lm-sensors.nu 
     408 
     409Philips PCF8574 
     410CONFIG_SENSORS_PCF8574 
     411  If you say yes here you get support for the Philips PCF8574 
     412  I2C 8-bit Parallel I/O device. 
     413  This can also be built as a module which can be  
     414  inserted and removed while the kernel is running. 
     415 
     416  You will also need the latest user-space utilties: you can find them 
     417  in the lm_sensors package, which you can download at  
     418  http://www.lm-sensors.nu 
     419 
     420Philips PCF8591 
     421CONFIG_SENSORS_PCF8591 
     422  If you say yes here you get support for the Philips PCF8591 
     423  I2C Quad D/A + Single A/D I/O device. 
     424  This can also be built as a module which can be  
     425  inserted and removed while the kernel is running. 
     426 
     427  You will also need the latest user-space utilties: you can find them 
     428  in the lm_sensors package, which you can download at  
     429  http://www.lm-sensors.nu 
     430 
    399431Silicon Integrated Systems Corp. SiS5595 Sensor 
    400432CONFIG_SENSORS_SIS5595 
    401433  If you say yes here you get support for the integrated sensors in  
    402434  SiS5595 South Bridges. This can also be built as a module  
     435  which can be inserted and removed while the kernel is running. 
     436 
     437  You will also need the latest user-space utilties: you can find them 
     438  in the lm_sensors package, which you can download at  
     439  http://www.lm-sensors.nu 
     440 
     441SMSC47M1xx Super I/O Fan Support 
     442CONFIG_SENSORS_SMSC47M1 
     443  If you say yes here you get support for the integrated fan 
     444  monitoring and control in the SMSC 47M1xx Super I/O chips. 
     445  This can also be built as a module  
    403446  which can be inserted and removed while the kernel is running. 
    404447 
     
    422465  If you say yes here you get support for the integrated sensors in  
    423466  Via 686A/B South Bridges. This can also be built as a module  
     467  which can be inserted and removed while the kernel is running. 
     468 
     469  You will also need the latest user-space utilties: you can find them 
     470  in the lm_sensors package, which you can download at  
     471  http://www.lm-sensors.nu 
     472 
     473Via VT1211 Sensors 
     474CONFIG_SENSORS_VT1211 
     475  If you say yes here you get support for the integrated sensors in  
     476  the Via VT1211 Super I/O device. This can also be built as a module  
    424477  which can be inserted and removed while the kernel is running. 
    425478 
     
    738791    tristate '  AMD 756/766/768' CONFIG_I2C_AMD756 
    739792    dep_tristate '  DEC Tsunami I2C interface' CONFIG_I2C_TSUNAMI $CONFIG_I2C_ALGOBIT 
    740     tristate '  Intel 82801AA, 82801AB and 82801BA' CONFIG_I2C_I801 
     793    tristate '  Intel 82801AA, AB, BA, DB' CONFIG_I2C_I801 
    741794    dep_tristate '  Intel i810AA/AB/E and i815' CONFIG_I2C_I810 $CONFIG_I2C_ALGOBIT 
    742795    tristate '  Intel 82371AB PIIX4(E), 443MX, ServerWorks OSB4/CSB5, SMSC Victory66' CONFIG_I2C_PIIX4 
    743796    tristate '  SiS 5595' CONFIG_I2C_SIS5595 
     797    dep_tristate '  Savage 4' CONFIG_I2C_SAVAGE4 $CONFIG_I2C_ALGOBIT 
    744798    dep_tristate '  VIA Technologies, Inc. VT82C586B' CONFIG_I2C_VIA $CONFIG_I2C_ALGOBIT 
    745     tristate '  VIA Technologies, Inc. VT596A/B, 686A/B, 8233' CONFIG_I2C_VIAPRO 
     799    tristate '  VIA Technologies, Inc. VT596A/B, 686A/B, 8231, 8233, 8233A' CONFIG_I2C_VIAPRO 
    746800    dep_tristate '  Voodoo3 I2C interface' CONFIG_I2C_VOODOO3 $CONFIG_I2C_ALGOBIT 
    747801    tristate '  Pseudo ISA adapter (for some hardware sensors)' CONFIG_I2C_ISA  
     
    799853obj-$(CONFIG_SENSORS_LM80)      += lm80.o 
    800854obj-$(CONFIG_SENSORS_LM87)      += lm87.o 
     855obj-$(CONFIG_SENSORS_LM92)      += lm92.o 
    801856obj-$(CONFIG_SENSORS_MAXILIFE)  += maxilife.o 
    802857obj-$(CONFIG_SENSORS_MTP008)    += mtp008.o 
     858obj-$(CONFIG_SENSORS_PCF8574)   += pcf8574.o 
     859obj-$(CONFIG_SENSORS_PCF8591)   += pcf8591.o 
    803860obj-$(CONFIG_SENSORS_SIS5595)   += sis5595.o 
     861obj-$(CONFIG_SENSORS_SMSC47M1)  += smsc47m1.o 
    804862obj-$(CONFIG_SENSORS_THMC50)    += thmc50.o 
    805863obj-$(CONFIG_SENSORS_VIA686A)   += via686a.o 
     864obj-$(CONFIG_SENSORS_VT1211)    += vt1211.o 
    806865obj-$(CONFIG_SENSORS_W83781D)   += w83781d.o 
    807866 
     
    9661025endif 
    9671026 
     1027ifeq ($(CONFIG_SENSORS_LM92),y) 
     1028  L_OBJS += lm92.o 
     1029else 
     1030  ifeq ($(CONFIG_SENSORS_LM92),m) 
     1031    M_OBJS += lm92.o 
     1032  endif 
     1033endif 
     1034 
    9681035ifeq ($(CONFIG_SENSORS_MATORB),y) 
    9691036  L_OBJS += matorb.o 
     
    9901057endif 
    9911058 
     1059ifeq ($(CONFIG_SENSORS_PCF8574),y) 
     1060  L_OBJS += pcf8574.o 
     1061else 
     1062  ifeq ($(CONFIG_SENSORS_PCF8574),m) 
     1063    M_OBJS += pcf8574.o 
     1064  endif 
     1065endif 
     1066 
     1067ifeq ($(CONFIG_SENSORS_PCF8591),y) 
     1068  L_OBJS += pcf8591.o 
     1069else 
     1070  ifeq ($(CONFIG_SENSORS_PCF8591),m) 
     1071    M_OBJS += pcf8591.o 
     1072  endif 
     1073endif 
     1074 
    9921075ifeq ($(CONFIG_SENSORS_SIS5595),y) 
    9931076  L_OBJS += sis5595.o 
     
    9981081endif 
    9991082 
     1083ifeq ($(CONFIG_SENSORS_SMSC47M1),y) 
     1084  L_OBJS += smsc47m1.o 
     1085else 
     1086  ifeq ($(CONFIG_SENSORS_SMSC47M1),m) 
     1087    M_OBJS += smsc47m1.o 
     1088  endif 
     1089endif 
     1090 
    10001091ifeq ($(CONFIG_SENSORS_THMC50),y) 
    10011092  L_OBJS += thmc50.o 
     
    10111102  ifeq ($(CONFIG_SENSORS_VIA686A),m) 
    10121103    M_OBJS += via686a.o 
     1104  endif 
     1105endif 
     1106 
     1107ifeq ($(CONFIG_SENSORS_VT1211),y) 
     1108  L_OBJS += vt1211.o 
     1109else 
     1110  ifeq ($(CONFIG_SENSORS_VT1211),m) 
     1111    M_OBJS += vt1211.o 
    10131112  endif 
    10141113endif 
     
    10661165obj-$(CONFIG_I2C_PIIX4)                 += i2c-piix4.o 
    10671166obj-$(CONFIG_I2C_SIS5595)               += i2c-sis5595.o 
     1167obj-$(CONFIG_I2C_SAVAGE4)               += i2c-savage4.o 
    10681168obj-$(CONFIG_I2C_TSUNAMI)               += i2c-tsunami.o 
    10691169obj-$(CONFIG_I2C_VIA)                   += i2c-via.o 
     
    11421242  ifeq ($(CONFIG_I2C_SIS5595),m) 
    11431243    M_OBJS += i2c-sis5595.o 
     1244  endif 
     1245endif 
     1246 
     1247ifeq ($(CONFIG_I2C_SAVAGE4),y) 
     1248  L_OBJS += i2c-savage4.o 
     1249else  
     1250  ifeq ($(CONFIG_I2C_SAVAGE4),m) 
     1251    M_OBJS += i2c-savage4.o 
    11441252  endif 
    11451253endif 
     
    12411349        extern int i2c_sis5595_init(void); 
    12421350#endif 
     1351#ifdef CONFIG_I2C_SAVAGE4 
     1352        extern int i2c_savage4_init(void); 
     1353#endif 
    12431354#ifdef CONFIG_I2C_TSUNAMI 
    12441355        extern int i2c_tsunami_init(void); 
     
    12791390#ifdef CONFIG_I2C_SIS5595 
    12801391        i2c_sis5595_init(); 
     1392#endif 
     1393#ifdef CONFIG_I2C_SAVAGE4 
     1394        i2c_savage4_init(); 
    12811395#endif 
    12821396#ifdef CONFIG_I2C_TSUNAMI