add eeprom i2c driver

From: Jan Dittmer (j.dittmer@portrix.net)
Date: Tue Mar 25 2003 - 09:42:14 EST


This adds support for reading eeproms.
Tested against latest bk changes with i2c-isa.

Thanks,

Jan


--- 1.4/drivers/i2c/chips/Kconfig Mon Feb 10 02:29:49 2003
+++ edited/Kconfig Tue Mar 25 12:19:38 2003
@@ -22,6 +22,20 @@
           in the lm_sensors package, which you can download at
           http://www.lm-sensors.nu
 
+config SENSORS_EEPROM
+ tristate " EEprom (DIMM) reader"
+ depends on I2C && I2C_PROC
+ help
+ If you say yes here you get read-only access to the EEPROM data
+ available on modern memory DIMMs, and which could theoretically
+ also be available on other devices. 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
+
 config SENSORS_LM75
         tristate " National Semiconductors LM75 and compatibles"
         depends on I2C && I2C_PROC
--- 1.2/drivers/i2c/chips/Makefile Sun Dec 29 19:17:10 2002
+++ edited/Makefile Tue Mar 25 11:19:52 2003
@@ -4,3 +4,5 @@
 
 obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o
 obj-$(CONFIG_SENSORS_LM75) += lm75.o
+obj-$(CONFIG_SENSORS_VIA686A) += via686a.o
+obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:20 EST