Skip to contentSkip to conversation

RFC PATCH new adm9240 driver port to 2.6

PATCH Grant Coady 1 participant 1 message May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi there,

Here it is, for comments.

Tested, works, more info:
http://scatter.mine.nu/lmsensors/adm9240/

Yes, there is still whitespace damage in source, but I doubt that's the only issue... :o)

Cheers,
Grant.

drivers/i2c/chips/Kconfig +10 -0
diff -Nru -X dontdiff-osdl linux-2.6.12-rc2-mm2/drivers/i2c/chips/Kconfig linux-2.6.12-rc2-mm2c/drivers/i2c/chips/Kconfig
@@ -51,6 +51,16 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called adm1031.
 
+config SENSORS_ADM9240
+	tristate "Analog Devices ADM9240 and compatibles"
+	depends on I2C && EXPERIMENTAL
+	select I2C_SENSOR
+	help
+	  If you say yes here you get support for Analog Devices ADM9240,
+	  Dallas DS1780 and National Semiconductor LM81 sensor chips. 
+	  This driver can also be built as a module.  If so, the module
+	  will be called adm9240.
+
 config SENSORS_ASB100
 	tristate "Asus ASB100 Bach"
 	depends on I2C && EXPERIMENTAL
drivers/i2c/chips/Makefile +1 -0
diff -Nru -X dontdiff-osdl linux-2.6.12-rc2-mm2/drivers/i2c/chips/Makefile linux-2.6.12-rc2-mm2c/drivers/i2c/chips/Makefile
@@ -11,6 +11,7 @@
 obj-$(CONFIG_SENSORS_ADM1025)	+= adm1025.o
 obj-$(CONFIG_SENSORS_ADM1026)	+= adm1026.o
 obj-$(CONFIG_SENSORS_ADM1031)	+= adm1031.o
+obj-$(CONFIG_SENSORS_ADM9240)	+= adm9240.o
 obj-$(CONFIG_SENSORS_DS1337)	+= ds1337.o
 obj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o
 obj-$(CONFIG_SENSORS_EEPROM)	+= eeprom.o
drivers/i2c/chips/adm9240.c +688 -0

688 lines not on this page · raw message