Re: i2c-via686a driver

From: Jan Dittmer (j.dittmer@portrix.net)
Date: Tue Mar 25 2003 - 04:12:43 EST


Greg KH wrote:
> On Sun, Mar 23, 2003 at 10:38:43PM +0100, Jan Dittmer wrote:
>
>>Anyway, here is a corrected version.
>
>
> Oops, one other thing. The pci_device_id structure should be
> initialized by using the .field = method, not the way the driver is
> currently.
>
> Oh, and one patch that adds the Kconfig, Makefile, and driver to the
> tree would be great.
>
I included that one with the first mail, but here it is again together
with the hopefully correctly fixed driver.

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 : Mon Mar 31 2003 - 22:00:19 EST