From 8dd5343703a9bba90dc5563eb0c42e3125752dae Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Sun, 23 May 2004 17:33:44 +0000 Subject: I2C framework originally written by Steve C. Woodford and Jason R. Thorpe for NetBSD (r). This framework supports various i2c master controllers: - dumb bit-bang controllers - a few styles of automated controllers that give you control over sending start/stop conditions on the i2c bus - automated controllers that are too smart for its own good, giving software no control over start/stop conditions - smbus controllers by emulating smbus protocol with i2c commands i2c slave devices need their addresses to be specified in the kernel config file, no device discovery presented. ok deraadt@ --- sys/conf/files | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys/conf') diff --git a/sys/conf/files b/sys/conf/files index e4f4645cf41..7ddc5cf233a 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1,4 +1,4 @@ -# $OpenBSD: files,v 1.297 2004/05/20 03:04:37 marco Exp $ +# $OpenBSD: files,v 1.298 2004/05/23 17:33:43 grange Exp $ # $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 @@ -16,6 +16,7 @@ define mii {[phy = -1]} define midibus { } define midisyn define radiobus {} +define i2cbus {} # audio device attributes define mulaw @@ -74,6 +75,10 @@ define wskbddev {[console = -1], [mux = -1]} define wsmousedev {[mux = -1]} define wsrasteremulops +# i2c device attributes +define i2cexec +define i2c_bitbang + # SMC 93Cx6 Serial EEPROM devices define smc93cx6 file dev/ic/smc93cx6.c smc93cx6 -- cgit v1.2.3