Skip to contentSkip to conversation

I2C: New PC8736x chip driver

PATCH New Jean Delvare 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 I2C: New PC8736x chip driver

Hi Greg,

This is my port of the pc87360 driver. It supports the hardware monitoring functions of the National Semiconductor PC8736x Super-I/O family. The PC87360, PC87363 and PC87364 only do fan monitoring and control. The PC87365 and PC87366 additionally have voltage and temperature monitoring.

The driver was ported upon request from Wincor-Nixdorf, and tested by Rolf M?ller there. I wish to thank Rolf for his very efficient cooperation.

Please apply,
thanks.

drivers/i2c/chips/Kconfig renamed from drivers/i2c/chips.orig/Kconfig +15 -0
diff -ruN linux-2.6.10-rc1/drivers/i2c/chips.orig/Kconfig linux-2.6.10-rc1/drivers/i2c/chips/Kconfig
@@ -215,6 +215,21 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called max1619.
 
+config SENSORS_PC87360
+	tristate "National Semiconductor PC87360 family"
+	depends on I2C && EXPERIMENTAL
+	select I2C_SENSOR
+	select I2C_ISA
+	help
+	  If you say yes here you get access to the hardware monitoring
+	  functions of the National Semiconductor PC8736x Super-I/O chips.
+	  The PC87360, PC87363 and PC87364 only have fan monitoring and
+	  control.  The PC87365 and PC87366 additionally have voltage and
+	  temperature monitoring.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called pc87360.
+
 config SENSORS_SMSC47M1
 	tristate "SMSC LPC47M10x and compatibles"
 	depends on I2C && EXPERIMENTAL
drivers/i2c/chips/Makefile renamed from drivers/i2c/chips.orig/Makefile +1 -0
diff -ruN linux-2.6.10-rc1/drivers/i2c/chips.orig/Makefile linux-2.6.10-rc1/drivers/i2c/chips/Makefile
@@ -25,6 +25,7 @@
 obj-$(CONFIG_SENSORS_LM87)	+= lm87.o
 obj-$(CONFIG_SENSORS_LM90)	+= lm90.o
 obj-$(CONFIG_SENSORS_MAX1619)	+= max1619.o
+obj-$(CONFIG_SENSORS_PC87360)	+= pc87360.o
 obj-$(CONFIG_SENSORS_PCF8574)	+= pcf8574.o
 obj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
 obj-$(CONFIG_SENSORS_RTC8564)	+= rtc8564.o
drivers/i2c/chips/pc87360.c renamed from drivers/i2c/chips.orig/pc87360.c +1304 -0

1,304 lines not on this page · raw message

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
Applied
#1 lore raw

PATCH 1/1 I2C: New PC8736x chip driver

Quoted 8 lines · Jean Delvare

Hi Greg,

This is my port of the pc87360 driver. It supports the hardware monitoring functions of the National Semiconductor PC8736x Super-I/O family. The PC87360, PC87363 and PC87364 only do fan monitoring and control. The PC87365 and PC87366 additionally have voltage and temperature monitoring.

Quoted 6 lines

The driver was ported upon request from Wincor-Nixdorf, and tested by Rolf M?ller there. I wish to thank Rolf for his very efficient cooperation.

Please apply,
thanks.

Applied, thanks.

Oh, and I fixed up your MODULE_PARAM warning too :)

greg k-h

#2 lore raw

PATCH 1/1 I2C: New PC8736x chip driver

In reply to Jean Delvare
Quoted 7 lines · Jean Delvare
Quoted 3 lines

Applied, thanks.

Oh, and I fixed up your MODULE_PARAM warning too :)

Sorry, I should have noticed the change. That said I did not see any warning. Are these compile-time or run-time warnings? Anything special needs to be done to actually see them?

Compile time warnings. You might need a newer version of gcc to see them, don't really know.

thanks,

greg k-h

#3 lore raw

PATCH 1/1 I2C: New PC8736x chip driver

In reply to Jean Delvare
Quoted 3 lines

Applied, thanks.

Oh, and I fixed up your MODULE_PARAM warning too :)

Sorry, I should have noticed the change. That said I did not see any warning. Are these compile-time or run-time warnings? Anything special needs to be done to actually see them?

Thanks.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/