diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-23 17:33:44 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-23 17:33:44 +0000 |
commit | 8dd5343703a9bba90dc5563eb0c42e3125752dae (patch) | |
tree | a3bccee5171c434fca4e7b791735786421522a96 /sys/conf | |
parent | a48ee7b51bafb017ef4e15547b4bcb18f33ad846 (diff) |
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@
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 7 |
1 files changed, 6 insertions, 1 deletions
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 |