From: junpingfeng@yahoo.com.cn (junping feng) Date: Tue, 20 Sep 2005 11:54:17 +0000 Subject: [lm-sensors] eeprom write! Message-Id: <20050920095254.29043.qmail@web15709.mail.cnb.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org Hi, My cpu is PowerPC8250.I2C device is eeprom AT24C01. I want to access the eeprom,read from the eeprom and write to it. I have read the file /lm_sensors-2.5.0/kernel/chips/eeprom.c,but this file can't achieve writing function and only can read 128 bytes. How can i complete the writing functions and read total the chip (1024 bytes). Can you give me the source codes? Thanks! ___________________________________________________________ ????G???No.1?????????? http://cn.mail.yahoo.com