Skip to contentSkip to conversation

New chip driver: fscher

PATCH New Jean Delvare 1 participant 1 message May 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New chip driver: fscher

Hi Greg,

This is a new ported driver, fscher, which supports the FSC Hermes chip. The original driver was written by Reinhard Nissl, who also ported it to Linux 2.6, as discussed on the lm_sensors mailing list during the last two weeks. I reviewed the code and we made the necessary changes, so that what we have now looks good to me. Please apply on top of your i2c patches stack.

Thanks.

drivers/i2c/chips/Kconfig +11 -0
diff -ruN linux-2.6.3-rc1-g1/drivers/i2c/chips/Kconfig linux-2.6.3-rc1-g2/drivers/i2c/chips/Kconfig
@@ -45,6 +45,17 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called eeprom.
 
+config SENSORS_FSCHER
+	tristate "FSC Hermes"
+	depends on I2C && EXPERIMENTAL
+	select I2C_SENSOR
+	help
+	  If you say yes here you get support for Fujitsu Siemens
+	  Computers Hermes sensor chips.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called fscher.
+
 config SENSORS_GL518SM
 	tristate "Genesys Logic GL518SM"
 	depends on I2C && EXPERIMENTAL
drivers/i2c/chips/Makefile +1 -0
diff -ruN linux-2.6.3-rc1-g1/drivers/i2c/chips/Makefile linux-2.6.3-rc1-g2/drivers/i2c/chips/Makefile
@@ -8,6 +8,7 @@
 
 obj-$(CONFIG_SENSORS_ADM1021)	+= adm1021.o
 obj-$(CONFIG_SENSORS_EEPROM)	+= eeprom.o
+obj-$(CONFIG_SENSORS_FSCHER)	+= fscher.o
 obj-$(CONFIG_SENSORS_GL518SM)	+= gl518sm.o
 obj-$(CONFIG_SENSORS_IT87)	+= it87.o
 obj-$(CONFIG_SENSORS_LM75)	+= lm75.o
drivers/i2c/chips/fscher.c +681 -0

681 lines not on this page · raw message

include/linux/i2c-id.h +1 -0
diff -ruN linux-2.6.3-rc1-g1/include/linux/i2c-id.h linux-2.6.3-rc1-g2/include/linux/i2c-id.h
@@ -156,6 +156,7 @@
 #define I2C_DRIVERID_LM83 1040
 #define I2C_DRIVERID_LM90 1042
 #define I2C_DRIVERID_ASB100 1043
+#define I2C_DRIVERID_FSCHER 1046
 #define I2C_DRIVERID_W83L785TS 1047
 
 /*
Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/