2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-02 15:25:38 +00:00

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

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1424 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2002-07-05 18:59:29 +00:00
parent e7c892b496
commit 4860b3f628
2 changed files with 150 additions and 6 deletions

View File

@@ -58,18 +58,33 @@ extern int sensors_lm80_init(void);
#ifdef CONFIG_SENSORS_LM87 #ifdef CONFIG_SENSORS_LM87
extern int sensors_lm87_init(void); extern int sensors_lm87_init(void);
#endif #endif
#ifdef CONFIG_SENSORS_LM92
extern int sensors_lm92_init(void);
#endif
#ifdef CONFIG_SENSORS_MTP008 #ifdef CONFIG_SENSORS_MTP008
extern int sensors_mtp008_init(void); extern int sensors_mtp008_init(void);
#endif #endif
#ifdef CONFIG_SENSORS_PCF8574
extern int sensors_pcf8574_init(void);
#endif
#ifdef CONFIG_SENSORS_PCF8591
extern int sensors_pcf8591_init(void);
#endif
#ifdef CONFIG_SENSORS_SIS5595 #ifdef CONFIG_SENSORS_SIS5595
extern int sensors_sis5595_init(void); extern int sensors_sis5595_init(void);
#endif #endif
#ifdef CONFIG_SENSORS_SMSC47M1
extern int sensors_smsc47m1_init(void);
#endif
#ifdef CONFIG_SENSORS_THMC50 #ifdef CONFIG_SENSORS_THMC50
extern int sensors_thmc50_init(void); extern int sensors_thmc50_init(void);
#endif #endif
#ifdef CONFIG_SENSORS_VIA686A #ifdef CONFIG_SENSORS_VIA686A
extern int sensors_via686a_init(void); extern int sensors_via686a_init(void);
#endif #endif
#ifdef CONFIG_SENSORS_VT1211
extern int sensors_vt1211_init(void);
#endif
#ifdef CONFIG_SENSORS_W83781D #ifdef CONFIG_SENSORS_W83781D
extern int sensors_w83781d_init(void); extern int sensors_w83781d_init(void);
#endif #endif
@@ -121,18 +136,33 @@ int __init sensors_init_all(void)
#ifdef CONFIG_SENSORS_LM87 #ifdef CONFIG_SENSORS_LM87
sensors_lm87_init(); sensors_lm87_init();
#endif #endif
#ifdef CONFIG_SENSORS_LM92
sensors_lm92_init();
#endif
#ifdef CONFIG_SENSORS_PCF8574
sensors_pcf8574_init();
#endif
#ifdef CONFIG_SENSORS_PCF8591
sensors_pcf8591_init();
#endif
#ifdef CONFIG_SENSORS_MTP008 #ifdef CONFIG_SENSORS_MTP008
sensors_mtp008_init(); sensors_mtp008_init();
#endif #endif
#ifdef CONFIG_SENSORS_SIS5595 #ifdef CONFIG_SENSORS_SIS5595
sensors_sis5595_init(); sensors_sis5595_init();
#endif #endif
#ifdef CONFIG_SENSORS_SMSC47M1
sensors_smsc47m1_init();
#endif
#ifdef CONFIG_SENSORS_THMC50 #ifdef CONFIG_SENSORS_THMC50
sensors_thmc50_init(); sensors_thmc50_init();
#endif #endif
#ifdef CONFIG_SENSORS_VIA686A #ifdef CONFIG_SENSORS_VIA686A
sensors_via686a_init(); sensors_via686a_init();
#endif #endif
#ifdef CONFIG_SENSORS_VT1211
sensors_vt1211_init();
#endif
#ifdef CONFIG_SENSORS_W83781D #ifdef CONFIG_SENSORS_W83781D
sensors_w83781d_init(); sensors_w83781d_init();
#endif #endif

View File

@@ -353,7 +353,7 @@ CONFIG_SENSORS_MTP008
in the lm_sensors package, which you can download at in the lm_sensors package, which you can download at
http://www.lm-sensors.nu http://www.lm-sensors.nu
National Semiconductors LM75 and compatibles National Semiconductor LM75 and compatibles
CONFIG_SENSORS_LM75 CONFIG_SENSORS_LM75
If you say yes here you get support for National Semiconductor LM75 If you say yes here you get support for National Semiconductor LM75
sensor chips and clones: Dallas Semi DS75 and DS1775, TelCon sensor chips and clones: Dallas Semi DS75 and DS1775, TelCon
@@ -364,7 +364,7 @@ CONFIG_SENSORS_LM75
in the lm_sensors package, which you can download at in the lm_sensors package, which you can download at
http://www.lm-sensors.nu http://www.lm-sensors.nu
National Semiconductors LM78 National Semiconductor LM78
CONFIG_SENSORS_LM78 CONFIG_SENSORS_LM78
If you say yes here you get support for National Semiconductor LM78 If you say yes here you get support for National Semiconductor LM78
sensor chips family: the LM78-J and LM79. Many clone chips will sensor chips family: the LM78-J and LM79. Many clone chips will
@@ -376,7 +376,7 @@ CONFIG_SENSORS_LM78
in the lm_sensors package, which you can download at in the lm_sensors package, which you can download at
http://www.lm-sensors.nu http://www.lm-sensors.nu
National Semiconductors LM80 National Semiconductor LM80
CONFIG_SENSORS_LM80 CONFIG_SENSORS_LM80
If you say yes here you get support for National Semiconductor LM80 If you say yes here you get support for National Semiconductor LM80
sensor chips. This can also be built as a module which can be sensor chips. This can also be built as a module which can be
@@ -386,7 +386,7 @@ CONFIG_SENSORS_LM80
in the lm_sensors package, which you can download at in the lm_sensors package, which you can download at
http://www.lm-sensors.nu http://www.lm-sensors.nu
National Semiconductors LM87 National Semiconductor LM87
CONFIG_SENSORS_LM87 CONFIG_SENSORS_LM87
If you say yes here you get support for National Semiconductor LM87 If you say yes here you get support for National Semiconductor LM87
sensor chips. This can also be built as a module which can be sensor chips. This can also be built as a module which can be
@@ -396,6 +396,38 @@ CONFIG_SENSORS_LM87
in the lm_sensors package, which you can download at in the lm_sensors package, which you can download at
http://www.lm-sensors.nu http://www.lm-sensors.nu
National Semiconductor LM92
CONFIG_SENSORS_LM92
If you say yes here you get support for National Semiconductor LM92
sensor chips. This can also be built as a module which can be
inserted and removed while the kernel is running.
You will also need the latest user-space utilties: you can find them
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
Philips PCF8574
CONFIG_SENSORS_PCF8574
If you say yes here you get support for the Philips PCF8574
I2C 8-bit Parallel I/O device.
This can also be built as a module which can be
inserted and removed while the kernel is running.
You will also need the latest user-space utilties: you can find them
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
Philips PCF8591
CONFIG_SENSORS_PCF8591
If you say yes here you get support for the Philips PCF8591
I2C Quad D/A + Single A/D I/O device.
This can also be built as a module which can be
inserted and removed while the kernel is running.
You will also need the latest user-space utilties: you can find them
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
Silicon Integrated Systems Corp. SiS5595 Sensor Silicon Integrated Systems Corp. SiS5595 Sensor
CONFIG_SENSORS_SIS5595 CONFIG_SENSORS_SIS5595
If you say yes here you get support for the integrated sensors in If you say yes here you get support for the integrated sensors in
@@ -406,6 +438,17 @@ CONFIG_SENSORS_SIS5595
in the lm_sensors package, which you can download at in the lm_sensors package, which you can download at
http://www.lm-sensors.nu http://www.lm-sensors.nu
SMSC47M1xx Super I/O Fan Support
CONFIG_SENSORS_SMSC47M1
If you say yes here you get support for the integrated fan
monitoring and control in the SMSC 47M1xx Super I/O chips.
This can also be built as a module
which can be inserted and removed while the kernel is running.
You will also need the latest user-space utilties: you can find them
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
Texas Instruments THMC50 / Analog Devices ADM1022 Texas Instruments THMC50 / Analog Devices ADM1022
CONFIG_SENSORS_THMC50 CONFIG_SENSORS_THMC50
If you say yes here you get support for Texas Instruments THMC50 If you say yes here you get support for Texas Instruments THMC50
@@ -427,6 +470,16 @@ CONFIG_SENSORS_VIA686A
in the lm_sensors package, which you can download at in the lm_sensors package, which you can download at
http://www.lm-sensors.nu http://www.lm-sensors.nu
Via VT1211 Sensors
CONFIG_SENSORS_VT1211
If you say yes here you get support for the integrated sensors in
the Via VT1211 Super I/O device. This can also be built as a module
which can be inserted and removed while the kernel is running.
You will also need the latest user-space utilties: you can find them
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
Winbond W83781D, W83782D, W83783S, W83627HF, AS99127F Winbond W83781D, W83782D, W83783S, W83627HF, AS99127F
CONFIG_SENSORS_W83781D CONFIG_SENSORS_W83781D
If you say yes here you get support for the Winbond W8378x series If you say yes here you get support for the Winbond W8378x series
@@ -737,12 +790,13 @@ sub gen_drivers_i2c_Config_in
dep_tristate ' Apple Hydra Mac I/O' CONFIG_I2C_HYDRA $CONFIG_I2C_ALGOBIT dep_tristate ' Apple Hydra Mac I/O' CONFIG_I2C_HYDRA $CONFIG_I2C_ALGOBIT
tristate ' AMD 756/766/768' CONFIG_I2C_AMD756 tristate ' AMD 756/766/768' CONFIG_I2C_AMD756
dep_tristate ' DEC Tsunami I2C interface' CONFIG_I2C_TSUNAMI $CONFIG_I2C_ALGOBIT dep_tristate ' DEC Tsunami I2C interface' CONFIG_I2C_TSUNAMI $CONFIG_I2C_ALGOBIT
tristate ' Intel 82801AA, 82801AB and 82801BA' CONFIG_I2C_I801 tristate ' Intel 82801AA, AB, BA, DB' CONFIG_I2C_I801
dep_tristate ' Intel i810AA/AB/E and i815' CONFIG_I2C_I810 $CONFIG_I2C_ALGOBIT dep_tristate ' Intel i810AA/AB/E and i815' CONFIG_I2C_I810 $CONFIG_I2C_ALGOBIT
tristate ' Intel 82371AB PIIX4(E), 443MX, ServerWorks OSB4/CSB5, SMSC Victory66' CONFIG_I2C_PIIX4 tristate ' Intel 82371AB PIIX4(E), 443MX, ServerWorks OSB4/CSB5, SMSC Victory66' CONFIG_I2C_PIIX4
tristate ' SiS 5595' CONFIG_I2C_SIS5595 tristate ' SiS 5595' CONFIG_I2C_SIS5595
dep_tristate ' Savage 4' CONFIG_I2C_SAVAGE4 $CONFIG_I2C_ALGOBIT
dep_tristate ' VIA Technologies, Inc. VT82C586B' CONFIG_I2C_VIA $CONFIG_I2C_ALGOBIT dep_tristate ' VIA Technologies, Inc. VT82C586B' CONFIG_I2C_VIA $CONFIG_I2C_ALGOBIT
tristate ' VIA Technologies, Inc. VT596A/B, 686A/B, 8233' CONFIG_I2C_VIAPRO tristate ' VIA Technologies, Inc. VT596A/B, 686A/B, 8231, 8233, 8233A' CONFIG_I2C_VIAPRO
dep_tristate ' Voodoo3 I2C interface' CONFIG_I2C_VOODOO3 $CONFIG_I2C_ALGOBIT dep_tristate ' Voodoo3 I2C interface' CONFIG_I2C_VOODOO3 $CONFIG_I2C_ALGOBIT
tristate ' Pseudo ISA adapter (for some hardware sensors)' CONFIG_I2C_ISA tristate ' Pseudo ISA adapter (for some hardware sensors)' CONFIG_I2C_ISA
fi fi
@@ -798,11 +852,16 @@ obj-$(CONFIG_SENSORS_LM75) += lm75.o
obj-$(CONFIG_SENSORS_LM78) += lm78.o obj-$(CONFIG_SENSORS_LM78) += lm78.o
obj-$(CONFIG_SENSORS_LM80) += lm80.o obj-$(CONFIG_SENSORS_LM80) += lm80.o
obj-$(CONFIG_SENSORS_LM87) += lm87.o obj-$(CONFIG_SENSORS_LM87) += lm87.o
obj-$(CONFIG_SENSORS_LM92) += lm92.o
obj-$(CONFIG_SENSORS_MAXILIFE) += maxilife.o obj-$(CONFIG_SENSORS_MAXILIFE) += maxilife.o
obj-$(CONFIG_SENSORS_MTP008) += mtp008.o obj-$(CONFIG_SENSORS_MTP008) += mtp008.o
obj-$(CONFIG_SENSORS_PCF8574) += pcf8574.o
obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
obj-$(CONFIG_SENSORS_SIS5595) += sis5595.o obj-$(CONFIG_SENSORS_SIS5595) += sis5595.o
obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o
obj-$(CONFIG_SENSORS_THMC50) += thmc50.o obj-$(CONFIG_SENSORS_THMC50) += thmc50.o
obj-$(CONFIG_SENSORS_VIA686A) += via686a.o obj-$(CONFIG_SENSORS_VIA686A) += via686a.o
obj-$(CONFIG_SENSORS_VT1211) += vt1211.o
obj-$(CONFIG_SENSORS_W83781D) += w83781d.o obj-$(CONFIG_SENSORS_W83781D) += w83781d.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
@@ -965,6 +1024,14 @@ else
endif endif
endif endif
ifeq ($(CONFIG_SENSORS_LM92),y)
L_OBJS += lm92.o
else
ifeq ($(CONFIG_SENSORS_LM92),m)
M_OBJS += lm92.o
endif
endif
ifeq ($(CONFIG_SENSORS_MATORB),y) ifeq ($(CONFIG_SENSORS_MATORB),y)
L_OBJS += matorb.o L_OBJS += matorb.o
else else
@@ -989,6 +1056,22 @@ else
endif endif
endif endif
ifeq ($(CONFIG_SENSORS_PCF8574),y)
L_OBJS += pcf8574.o
else
ifeq ($(CONFIG_SENSORS_PCF8574),m)
M_OBJS += pcf8574.o
endif
endif
ifeq ($(CONFIG_SENSORS_PCF8591),y)
L_OBJS += pcf8591.o
else
ifeq ($(CONFIG_SENSORS_PCF8591),m)
M_OBJS += pcf8591.o
endif
endif
ifeq ($(CONFIG_SENSORS_SIS5595),y) ifeq ($(CONFIG_SENSORS_SIS5595),y)
L_OBJS += sis5595.o L_OBJS += sis5595.o
else else
@@ -997,6 +1080,14 @@ else
endif endif
endif endif
ifeq ($(CONFIG_SENSORS_SMSC47M1),y)
L_OBJS += smsc47m1.o
else
ifeq ($(CONFIG_SENSORS_SMSC47M1),m)
M_OBJS += smsc47m1.o
endif
endif
ifeq ($(CONFIG_SENSORS_THMC50),y) ifeq ($(CONFIG_SENSORS_THMC50),y)
L_OBJS += thmc50.o L_OBJS += thmc50.o
else else
@@ -1013,6 +1104,14 @@ else
endif endif
endif endif
ifeq ($(CONFIG_SENSORS_VT1211),y)
L_OBJS += vt1211.o
else
ifeq ($(CONFIG_SENSORS_VT1211),m)
M_OBJS += vt1211.o
endif
endif
ifeq ($(CONFIG_SENSORS_W83781D),y) ifeq ($(CONFIG_SENSORS_W83781D),y)
L_OBJS += w83781d.o L_OBJS += w83781d.o
else else
@@ -1065,6 +1164,7 @@ obj-$(CONFIG_I2C_I810) += i2c-i810.o
obj-$(CONFIG_I2C_ISA) += i2c-isa.o obj-$(CONFIG_I2C_ISA) += i2c-isa.o
obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o
obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o
obj-$(CONFIG_I2C_SAVAGE4) += i2c-savage4.o
obj-$(CONFIG_I2C_TSUNAMI) += i2c-tsunami.o obj-$(CONFIG_I2C_TSUNAMI) += i2c-tsunami.o
obj-$(CONFIG_I2C_VIA) += i2c-via.o obj-$(CONFIG_I2C_VIA) += i2c-via.o
obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o
@@ -1144,6 +1244,14 @@ else
endif endif
endif endif
ifeq ($(CONFIG_I2C_SAVAGE4),y)
L_OBJS += i2c-savage4.o
else
ifeq ($(CONFIG_I2C_SAVAGE4),m)
M_OBJS += i2c-savage4.o
endif
endif
ifeq ($(CONFIG_I2C_TSUNAMI),y) ifeq ($(CONFIG_I2C_TSUNAMI),y)
L_OBJS += i2c-tsunami.o L_OBJS += i2c-tsunami.o
else else
@@ -1240,6 +1348,9 @@ sub gen_drivers_i2c_i2c_core_c
#ifdef CONFIG_I2C_SIS5595 #ifdef CONFIG_I2C_SIS5595
extern int i2c_sis5595_init(void); extern int i2c_sis5595_init(void);
#endif #endif
#ifdef CONFIG_I2C_SAVAGE4
extern int i2c_savage4_init(void);
#endif
#ifdef CONFIG_I2C_TSUNAMI #ifdef CONFIG_I2C_TSUNAMI
extern int i2c_tsunami_init(void); extern int i2c_tsunami_init(void);
#endif #endif
@@ -1279,6 +1390,9 @@ EOF
#ifdef CONFIG_I2C_SIS5595 #ifdef CONFIG_I2C_SIS5595
i2c_sis5595_init(); i2c_sis5595_init();
#endif #endif
#ifdef CONFIG_I2C_SAVAGE4
i2c_savage4_init();
#endif
#ifdef CONFIG_I2C_TSUNAMI #ifdef CONFIG_I2C_TSUNAMI
i2c_tsunami_init(); i2c_tsunami_init();
#endif #endif