summaryrefslogtreecommitdiff
path: root/mkpatch
diff options
context:
space:
mode:
authorFrodo Looijaard <frodol@dds.nl>2000-12-19 21:26:00 +0000
committerFrodo Looijaard <frodol@dds.nl>2000-12-19 21:26:00 +0000
commitfa1081df9ac1d95c9e2b521110dd68ef259bde57 (patch)
tree5631680766e06f2bccc05d19d86017d76661c2e9 /mkpatch
parente3fe21cc9f6ceb1a1b10d33456b8c24d64c710b4 (diff)
downloadlm-sensors-git-fa1081df9ac1d95c9e2b521110dd68ef259bde57.tar.gz
Finally added almost all drivers to mkpatch!
I added the list we made some weeks ago, except for the maxilife driver which is old and which I do not trust at all. To do: add descriptions for Documentation/Configure (any volunteers? It should be put in mkpatch.pl next to the other documentation) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@961 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'mkpatch')
-rw-r--r--mkpatch/Config.in8
-rw-r--r--mkpatch/FILES18
-rwxr-xr-xmkpatch/mkpatch.pl172
3 files changed, 189 insertions, 9 deletions
diff --git a/mkpatch/Config.in b/mkpatch/Config.in
index 876e2d5f..f7c38efe 100644
--- a/mkpatch/Config.in
+++ b/mkpatch/Config.in
@@ -10,17 +10,25 @@ if [ "$CONFIG_I2C" = "m" -o "$CONFIG_I2C" = "y" ] ; then
if [ "$CONFIG_SENSORS" != "n" ]; then
dep_tristate ' Analog Devices ADM1021 and compatibles' CONFIG_SENSORS_ADM1021 $CONFIG_SENSORS
+ dep_tristate ' Analog Devices ADM1025' CONFIG_SENSORS_ADM1025 $CONFIG_SENSORS
dep_tristate ' Analog Devices ADM9240 and compatibles' CONFIG_SENSORS_ADM9240 $CONFIG_SENSORS
dep_tristate ' Genesys Logic GL518SM' CONFIG_SENSORS_GL518SM $CONFIG_SENSORS
+ dep_tristate ' Genesys Logic GL520SM' CONFIG_SENSORS_GL520SM $CONFIG_SENSORS
dep_tristate ' National Semiconductors LM75' CONFIG_SENSORS_LM75 $CONFIG_SENSORS
dep_tristate ' National Semiconductors LM78' CONFIG_SENSORS_LM78 $CONFIG_SENSORS
dep_tristate ' National Semiconductors LM80' CONFIG_SENSORS_LM80 $CONFIG_SENSORS
+ dep_tristate ' National Semiconductors LM87' CONFIG_SENSORS_LM87 $CONFIG_SENSORS
dep_tristate ' Silicon Integrated Systems Corp. SiS5595' CONFIG_SENSORS_SIS5595 $CONFIG_SENSORS
+ dep_tristate ' Texas Instruments THMC50 and compatibles' CONFIG_THMC50 $CONFIG_SENSORS
+ dep_tristate ' VIA 686a Integrated Hardware Monitor' CONFIG_SENSORS_VIA686A $CONFIG_SENSORS
dep_tristate ' Winbond W83781D, W83782D and W83783S' CONFIG_SENSORS_W83781D $CONFIG_SENSORS
bool 'Other I2C devices' CONFIG_SENSORS_OTHER
if [ "$CONFIG_SENSORS_OTHER" = "y" ] ; then
+ dep_tristate ' Brooktree BT869 Video Modulator' CONFIG_SENSORS_BT869 $CONFIG_SENSORS
+ dep_tristate ' DDC Monitor EDID EEPROM' CONFIG_SENSORS_DDCMON $CONFIG_SENSORS
dep_tristate ' EEprom (DIMM) reader ' CONFIG_SENSORS_EEPROM $CONFIG_SENSORS
dep_tristate ' Linear Technologies LTC1710 ' CONFIG_SENSORS_LTC1710 $CONFIG_SENSORS
+ dep_tristate ' Matrix-Orbital LCD Displays' CONFIG_SENSORS_MATORB $CONFIG_MATORB
fi
fi
endmenu
diff --git a/mkpatch/FILES b/mkpatch/FILES
index b8e73ba2..87f61adf 100644
--- a/mkpatch/FILES
+++ b/mkpatch/FILES
@@ -1,19 +1,33 @@
kernel/busses/i2c-ali15x3.c drivers/i2c/i2c-ali15x3.c
-kernel/busses/i2c-hydra.c drivers/i2c/i2c-hydra.c
+kernel/busses/i2c-amd756.c driver/i2c/i2c-amd756.c
+kernel/busses/i2c-hydra.c driver/i2c/i2c-hydra.c
+kernel/busses/i2c-i801.c driver/i2c/i2c-i801.c
+kernel/busses/i2c-i810.c driver/i2c/i2c-i810.c
kernel/busses/i2c-isa.c drivers/i2c/i2c-isa.c
kernel/busses/i2c-piix4.c drivers/i2c/i2c-piix4.c
+kernel/busses/i2c-sis5595.c driver/i2c/i2c-sis5595.c
kernel/busses/i2c-via.c drivers/i2c/i2c-via.c
+kernel/busses/i2c-viapro.c driver/i2c/i2c-viapro.c
+kernel/busses/i2c-voodoo3.c driver/i2c/i2c-voodoo3.c
kernel/sensors.c drivers/sensors/sensors.c
kernel/chips/adm1021.c drivers/sensors/adm1021.c
+kernel/chips/adm1025.c drivers/sensors/adm1025.c
kernel/chips/adm9240.c drivers/sensors/adm9240.c
+kernel/chips/bt869.c drivers/sensors/bt869.c
+kernel/chips/ddcmon.c drivers/sensors/ddcmon.c
+kernel/chips/eeprom.c drivers/sensors/eeprom.c
kernel/chips/gl518sm.c drivers/sensors/gl518sm.c
+kernel/chips/gl520sm.c drivers/sensors/gl520sm.c
kernel/chips/lm75.c drivers/sensors/lm75.c
kernel/chips/lm78.c drivers/sensors/lm78.c
kernel/chips/lm80.c drivers/sensors/lm80.c
+kernel/chips/lm87.c drivers/sensors/lm87.c
kernel/chips/ltc1710.c drivers/sensors/ltc1710.c
+kernel/chips/matorb.c drivers/sensors/matorb.c
kernel/chips/sis5595.c drivers/sensors/sis5595.c
+kernel/chips/thmc50.c drivers/sensors/thmc50.c
+kernel/chips/via686a.c drivers/sensors/via686a.c
kernel/chips/w83781d.c drivers/sensors/w83781d.c
-kernel/chips/eeprom.c drivers/sensors/eeprom.c
kernel/include/i2c-isa.h include/linux/i2c-isa.h
kernel/include/sensors.h include/linux/sensors.h
mkpatch/Config.in drivers/sensors/Config.in
diff --git a/mkpatch/mkpatch.pl b/mkpatch/mkpatch.pl
index ecf9061e..c2a4b0e6 100755
--- a/mkpatch/mkpatch.pl
+++ b/mkpatch/mkpatch.pl
@@ -540,8 +540,13 @@ sub gen_drivers_i2c_Config_in
if [ "$CONFIG_I2C_MAINBOARD" = "y" ]; then
tristate ' Acer Labs ALI 1533 and 1543C' CONFIG_I2C_ALI15X3
dep_tristate ' Apple Hydra Mac I/O' CONFIG_I2C_HYDRA $CONFIG_I2C_ALGOBIT
+ tristate ' AMD 756' CONFIG_I2C_AMD756
+ tristate ' Intel 82801AA, 82801AB and 82801BA' CONFIG_I2C_I801
+ tristate ' Intel i810AA, i810AB and i815' CONFIG_I2C_I810
tristate ' Intel 82371AB PIIX4(E)' CONFIG_I2C_PIIX4
dep_tristate ' VIA Technologies, Inc. VT82C586B' CONFIG_I2C_VIA $CONFIG_I2C_ALGOBIT
+ tristate ' VIA Technologies, Inc. VT596A/B' CONFIG_I2C_VIAPRO
+ dep_tristate ' Voodoo3 I2C interface' CONFIG_I2C_VOODOO $CONFIG_I2C_ALGOBIT
tristate ' Pseudo ISA adapter (for hardware sensors modules)' CONFIG_I2C_ISA
fi
@@ -580,14 +585,21 @@ export-objs := sensors.o
obj-$(CONFIG_SENSORS) += sensors.o
obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o
+obj-$(CONFIG_SENSORS_ADM1025) += adm1025.o
obj-$(CONFIG_SENSORS_ADM9024) += adm9024.o
+obj-$(CONFIG_SENSORS_BT869) += bt869.o
+obj-$(CONFIG_SENSORS_DDCMON) += ddcmon.o
obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
obj-$(CONFIG_SENSORS_GL518SM) += gl518sm.o
+obj-$(CONFIG_SENSORS_GL520SM) += gl520sm.o
obj-$(CONFIG_SENSORS_LM75) += lm75.o
obj-$(CONFIG_SENSORS_LM78) += lm78.o
obj-$(CONFIG_SENSORS_LM80) += lm80.o
+obj-$(CONFIG_SENSORS_LM87) += lm87.o
obj-$(CONFIG_SENSORS_LTC1710) += ltc1710.o
obj-$(CONFIG_SENSORS_SIS5595) += sis5595.o
+obj-$(CONFIG_SENSORS_THMC50) += thmc50.o
+obj-$(CONFIG_SENSORS_VIA686A) += via686a.o
obj-$(CONFIG_SENSORS_W83781D) += w83781d.o
O_OBJS := $(filter-out $(export-objs), $(obj-y))
@@ -635,6 +647,14 @@ else
endif
endif
+ifeq ($(CONFIG_SENSORS_ADM1025),y)
+ L_OBJS += adm1025.o
+else
+ ifeq ($(CONFIG_SENSORS_ADM1025),m)
+ M_OBJS += adm1025.o
+ endif
+endif
+
ifeq ($(CONFIG_SENSORS_ADM9024),y)
L_OBJS += adm9240.o
else
@@ -643,6 +663,14 @@ else
endif
endif
+ifeq ($(CONFIG_SENSORS_DDCMON),y)
+ L_OBJS += ddcmon.o
+else
+ ifeq ($(CONFIG_SENSORS_DDCMON),m)
+ M_OBJS += ddcmon.o
+ endif
+endif
+
ifeq ($(CONFIG_SENSORS_EEPROM),y)
L_OBJS += eeprom.o
else
@@ -659,6 +687,14 @@ else
endif
endif
+ifeq ($(CONFIG_SENSORS_GL520SM),y)
+ L_OBJS += gl520sm.o
+else
+ ifeq ($(CONFIG_SENSORS_GL520SM),m)
+ M_OBJS += gl520sm.o
+ endif
+endif
+
ifeq ($(CONFIG_SENSORS_LM75),y)
L_OBJS += lm75.o
else
@@ -683,6 +719,14 @@ else
endif
endif
+ifeq ($(CONFIG_SENSORS_LM87),y)
+ L_OBJS += lm87.o
+else
+ ifeq ($(CONFIG_SENSORS_LM87),m)
+ M_OBJS += lm87.o
+ endif
+endif
+
ifeq ($(CONFIG_SENSORS_LTC1710),y)
L_OBJS += ltc1710.o
else
@@ -691,6 +735,14 @@ else
endif
endif
+ifeq ($(CONFIG_SENSORS_MATORB),y)
+ L_OBJS += matorb.o
+else
+ ifeq ($(CONFIG_SENSORS_MATORB),m)
+ M_OBJS += matorb.o
+ endif
+endif
+
ifeq ($(CONFIG_SENSORS_SIS5595),y)
L_OBJS += sis5595.o
else
@@ -699,6 +751,22 @@ else
endif
endif
+ifeq ($(CONFIG_SENSORS_THMC50),y)
+ L_OBJS += thmc50.o
+else
+ ifeq ($(CONFIG_SENSORS_THMC50),m)
+ M_OBJS += thmc50.o
+ endif
+endif
+
+ifeq ($(CONFIG_SENSORS_VIA686A),y)
+ L_OBJS += via686a.o
+else
+ ifeq ($(CONFIG_SENSORS_VIA686A),m)
+ M_OBJS += via686a.o
+ endif
+endif
+
ifeq ($(CONFIG_SENSORS_W83781D),y)
L_OBJS += w83781d.o
else
@@ -743,10 +811,16 @@ sub gen_drivers_i2c_Makefile
if ($new_format) {
print OUTPUT << 'EOF';
obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o
+obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o
obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o
+obj-$(CONFIG_I2C_I801) += i2c-i801.o
+obj-$(CONFIG_I2C_I810) += i2c-i810.o
+obj-$(CONFIG_I2C_ISA) += i2c-isa.o
obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o
+obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o
obj-$(CONFIG_I2C_VIA) += i2c-via.o
-obj-$(CONFIG_I2C_ISA) += i2c-isa.o
+obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o
+obj-$(CONFIG_I2C_VOODOO3) += i2c-voodoo3.o
EOF
} else {
print OUTPUT << 'EOF';
@@ -758,6 +832,14 @@ else
endif
endif
+ifeq ($(CONFIG_I2C_AMD756),y)
+ L_OBJS += i2c-amd756.o
+else
+ ifeq ($(CONFIG_I2C_AMD756),m)
+ M_OBJS += i2c-amd756.o
+ endif
+endif
+
ifeq ($(CONFIG_I2C_HYDRA),y)
L_OBJS += i2c-hydra.o
else
@@ -766,6 +848,30 @@ else
endif
endif
+ifeq ($(CONFIG_I2C_I801),y)
+ L_OBJS += i2c-i801.o
+else
+ ifeq ($(CONFIG_I2C_I801),m)
+ M_OBJS += i2c-i801.o
+ endif
+endif
+
+ifeq ($(CONFIG_I2C_I810),y)
+ L_OBJS += i2c-i810.o
+else
+ ifeq ($(CONFIG_I2C_I810),m)
+ M_OBJS += i2c-i810.o
+ endif
+endif
+
+ifeq ($(CONFIG_I2C_ISA),y)
+ L_OBJS += i2c-isa.o
+else
+ ifeq ($(CONFIG_I2C_ISA),m)
+ M_OBJS += i2c-isa.o
+ endif
+endif
+
ifeq ($(CONFIG_I2C_PIIX4),y)
L_OBJS += i2c-piix4.o
else
@@ -774,6 +880,14 @@ else
endif
endif
+ifeq ($(CONFIG_I2C_SIS5595),y)
+ L_OBJS += i2c-sis5595.o
+else
+ ifeq ($(CONFIG_I2C_SIS5595),m)
+ M_OBJS += i2c-sis5595.o
+ endif
+endif
+
ifeq ($(CONFIG_I2C_VIA),y)
L_OBJS += i2c-via.o
else
@@ -782,11 +896,19 @@ else
endif
endif
-ifeq ($(CONFIG_I2C_ISA),y)
- L_OBJS += i2c-isa.o
+ifeq ($(CONFIG_I2C_VIAPRO),y)
+ L_OBJS += i2c-viapro.o
else
- ifeq ($(CONFIG_I2C_ISA),m)
- M_OBJS += i2c-isa.o
+ ifeq ($(CONFIG_I2C_VIAPRO),m)
+ M_OBJS += i2c-viapro.o
+ endif
+endif
+
+ifeq ($(CONFIG_I2C_VOODOO3),y)
+ L_OBJS += i2c-voodoo3.o
+else
+ ifeq ($(CONFIG_I2C_VOODOO3),m)
+ M_OBJS += i2c-voodoo3.o
endif
endif
@@ -830,17 +952,35 @@ sub gen_drivers_i2c_i2c_core_c
#ifdef CONFIG_I2C_ALI15X3
extern int i2c_ali15x3_init(void);
#endif
+#ifdef CONFIG_I2C_AMD756
+ extern int i2c_amd756_init(void);
+#endif
#ifdef CONFIG_I2C_HYDRA
extern int i2c_hydra_init(void);
#endif
+#ifdef CONFIG_I2C_I801
+ extern int i2c_i801_init(void);
+#endif
+#ifdef CONFIG_I2C_I810
+ extern int i2c_i810_init(void);
+#endif
+#ifdef CONFIG_I2C_ISA
+ extern int i2c_isa_init(void);
+#endif
#ifdef CONFIG_I2C_PIIX4
extern int i2c_piix4_init(void);
#endif
+#ifdef CONFIG_I2C_SIS5595
+ extern int i2c_sis5595_init(void);
+#endif
#ifdef CONFIG_I2C_VIA
extern int i2c_via_init(void);
#endif
-#ifdef CONFIG_I2C_ISA
- extern int i2c_isa_init(void);
+#ifdef CONFIG_I2C_VIAPRO
+ extern int i2c_viapro_init(void);
+#endif
+#ifdef CONFIG_I2C_VOODOO3
+ extern int i2c_voodoo3_init(void);
#endif
EOF
} elsif ($patch_nr == 2) {
@@ -848,15 +988,33 @@ EOF
#ifdef CONFIG_I2C_ALI15X3
i2c_ali15x3_init();
#endif
+#ifdef CONFIG_I2C_AMD756
+ i2c_amd756_init();
+#endif
#ifdef CONFIG_I2C_HYDRA
i2c_hydra_init();
#endif
+#ifdef CONFIG_I2C_I801
+ i2c_i801_init();
+#endif
+#ifdef CONFIG_I2C_I810
+ i2c_i810_init();
+#endif
#ifdef CONFIG_I2C_PIIX4
i2c_piix4_init();
#endif
+#ifdef CONFIG_I2C_SIS5595
+ i2c_sis5595_init();
+#endif
#ifdef CONFIG_I2C_VIA
i2c_via_init();
#endif
+#ifdef CONFIG_I2C_VIAPRO
+ i2c_viapro_init();
+#endif
+#ifdef CONFIG_I2C_VOODOO3
+ i2c_voodoo3_init();
+#endif
#ifdef CONFIG_I2C_ISA
i2c_isa_init();
#endif