Skip to contentSkip to conversation

New chip driver ported: lm80

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New chip driver ported: lm80

Hi Greg,

Here is a port for the lm80 driver, which supports LM80 chips by National Semiconductor. The port is mostly the work of Tiago Sousa, which I reviewed and polished as necessary.

I leave it to you to decide wether you want to accept this driver in Linux 2.6, or not. See my previous mail for reasons you could have not to want it. (My opinion being: now that the driver has been ported, let's include it.)

Thanks.

drivers/i2c/chips/Kconfig renamed from drivers/i2c/chips.orig/Kconfig +11 -0
diff -ruN linux-2.6.3-rc2/drivers/i2c/chips.orig/Kconfig linux-2.6.3-rc2/drivers/i2c/chips/Kconfig
@@ -102,6 +102,17 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called lm78.
 
+config SENSORS_LM80
+	tristate "National Semiconductor LM80"
+	depends on I2C && EXPERIMENTAL
+	select I2C_SENSOR
+	help
+	  If you say yes here you get support for National Semiconductor
+	  LM80 sensor chips.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called lm80.
+
 config SENSORS_LM83
 	tristate "National Semiconductor LM83"
 	depends on I2C && EXPERIMENTAL
drivers/i2c/chips/Makefile renamed from drivers/i2c/chips.orig/Makefile +1 -0
diff -ruN linux-2.6.3-rc2/drivers/i2c/chips.orig/Makefile linux-2.6.3-rc2/drivers/i2c/chips/Makefile
@@ -13,6 +13,7 @@
 obj-$(CONFIG_SENSORS_IT87)	+= it87.o
 obj-$(CONFIG_SENSORS_LM75)	+= lm75.o
 obj-$(CONFIG_SENSORS_LM78)	+= lm78.o
+obj-$(CONFIG_SENSORS_LM80)	+= lm80.o
 obj-$(CONFIG_SENSORS_LM83)	+= lm83.o
 obj-$(CONFIG_SENSORS_LM85)	+= lm85.o
 obj-$(CONFIG_SENSORS_LM90)	+= lm90.o
drivers/i2c/chips/lm80.c renamed from drivers/i2c/chips.orig/lm80.c +557 -0

557 lines not on this page · raw message

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw

PATCH 1/1 New chip driver ported: lm80

Quoted 10 lines · Jean Delvare

Hi Greg,

Here is a port for the lm80 driver, which supports LM80 chips by National Semiconductor. The port is mostly the work of Tiago Sousa, which I reviewed and polished as necessary.

I leave it to you to decide wether you want to accept this driver in Linux 2.6, or not. See my previous mail for reasons you could have not to want it. (My opinion being: now that the driver has been ported, let's include it.)

Looks good, I'll add it to my TODO queue to apply after 2.6.3 is out.

thanks,

greg k-h

Applied
#2 lore raw

PATCH 1/1 New chip driver ported: lm80

In reply to Jean Delvare
Quoted 10 lines · Jean Delvare

Hi Greg,

Here is a port for the lm80 driver, which supports LM80 chips by National Semiconductor. The port is mostly the work of Tiago Sousa, which I reviewed and polished as necessary.

I leave it to you to decide wether you want to accept this driver in Linux 2.6, or not. See my previous mail for reasons you could have not to want it. (My opinion being: now that the driver has been ported, let's include it.)

Applied, thanks.

greg k-h