summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/files.i2c
blob: 48d81a83e8e0f42b775d6b71f6abe0fbf35b3b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $OpenBSD: files.i2c,v 1.2 2004/05/23 18:12:37 grange Exp $
#	$NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $

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
file	dev/i2c/i2c_bitbang.c			i2c_bitbang

# National Semiconductor LM75/LM77 temperature sensor
device	lmtemp
attach	lmtemp at iic
file	dev/i2c/lm75.c				lmtemp