Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/i2c/files.i2c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/i2c/files.i2c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.3.4.1 retrieving revision 1.3.4.2 diff -u -p -r1.3.4.1 -r1.3.4.2 --- src/sys/dev/i2c/files.i2c 2003/10/20 16:24:10 1.3.4.1 +++ src/sys/dev/i2c/files.i2c 2004/08/03 10:46:05 1.3.4.2 @@ -0,0 +1,59 @@ +# $NetBSD: files.i2c,v 1.3.4.2 2004/08/03 10:46:05 skrll Exp $ + +define i2cbus { } +define i2cexec + +device iic { addr, [size = -1] } +attach iic at i2cbus +file dev/i2c/i2c.c iic | i2cbus +file dev/i2c/i2c_exec.c iic | i2cbus | i2cexec + +# Common module for bit-bang'ing an I2C bus +define i2c_bitbang +file dev/i2c/i2c_bitbang.c i2c_bitbang + +# +# I2C client devices +# + +# M41T00 Real Time Clock +device m41trtc +attach m41trtc at iic +file dev/i2c/m41t00.c m41trtc + +# M41ST84 Real Time Clock +device strtc +attach strtc at iic +file dev/i2c/m41st84.c strtc + +# MAX6900 Real Time Clock +device maxrtc +attach maxrtc at iic +file dev/i2c/max6900.c maxrtc + +# Philips PCF8583 Real Time Clock +device pcfrtc +attach pcfrtc at iic +file dev/i2c/pcf8583.c pcfrtc + +# Atmel/Microchip 24Cxx Serial EEPROM +define at24cxx_eeprom +device seeprom +attach seeprom at iic +file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom + needs-flag + +# National Semiconductor LM75 temperature sensor +device lmtemp: sysmon_envsys +attach lmtemp at iic +file dev/i2c/lm75.c lmtemp + +# Dallas DS1307 Real Time Clock +device dsrtc +attach dsrtc at iic +file dev/i2c/ds1307.c dsrtc + +# Xicor X1226 Real Time Clock +device xrtc +attach xrtc at iic +file dev/i2c/x1226.c xrtc