i2c-via686a driver

From: Jan Dittmer (j.dittmer@portrix.net)
Date: Sun Mar 23 2003 - 14:29:59 EST


I just took the driver from cvs and converted it to the new api. Running
with your latest patches now without any problems.
I also needed some fixes in tvmixer.c to compile properly. Should I send
them too?
If this work is okay, I'll convert some other drivers from i2c cvs to
the current api.

Thanks,

Jan

diff -urN clean/drivers/i2c/chips/Kconfig work/drivers/i2c/chips/Kconfig
--- clean/drivers/i2c/chips/Kconfig 2003-03-21 12:42:02.000000000 +0100
+++ work/drivers/i2c/chips/Kconfig 2003-03-21 23:23:05.000000000 +0100
@@ -37,4 +37,17 @@
           in the lm_sensors package, which you can download at
           http://www.lm-sensors.nu
 
+config SENSORS_VIA686A
+ tristate " VIA686A"
+ depends on I2C && I2C_PROC
+ help
+ support for via686a
+ If you say yes here you get support for the integrated sensors in
+ Via 686A/B South Bridges. 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
+
 endmenu
diff -urN clean/drivers/i2c/chips/Makefile work/drivers/i2c/chips/Makefile
--- clean/drivers/i2c/chips/Makefile 2003-03-21 12:42:02.000000000 +0100
+++ work/drivers/i2c/chips/Makefile 2003-03-21 23:23:01.000000000 +0100
@@ -4,3 +4,4 @@
 
 obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o
 obj-$(CONFIG_SENSORS_LM75) += lm75.o
+obj-$(CONFIG_SENSORS_VIA686A) += via686a.o



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:45 EST