lkml.org 
[lkml]   [2003]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: i2c-via686a driver
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
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.062 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site