diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2006-02-10 05:28:57 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2006-02-10 05:28:57 +0000 |
commit | 809097c8d3709b9a62c5cd535cc3816444396e50 (patch) | |
tree | b73d72906903e14f30eb7807265e44385f44ce1f /sys/arch/sparc64/conf/files.sparc64 | |
parent | fde272a8f6bdd419c31b5dc3ec13e0e93e579535 (diff) |
driver for Philips PCF8591 I2C ADC sensor. Because of the mindlessness
of this chip, it is impossible to probe for and we need to be told where
it is and how to understand its output. We get this information from
openfirmware, but this restricts the use of the driver to sparc64 for now.
Only sensors that OFW identifies as temperature sensors are supported at
present.
prodded by dlg@ "get it in" deraadt@
Diffstat (limited to 'sys/arch/sparc64/conf/files.sparc64')
-rw-r--r-- | sys/arch/sparc64/conf/files.sparc64 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/sparc64/conf/files.sparc64 b/sys/arch/sparc64/conf/files.sparc64 index 9693d67d5de..08271b82caf 100644 --- a/sys/arch/sparc64/conf/files.sparc64 +++ b/sys/arch/sparc64/conf/files.sparc64 @@ -1,4 +1,4 @@ -# $OpenBSD: files.sparc64,v 1.64 2006/02/01 11:03:33 dlg Exp $ +# $OpenBSD: files.sparc64,v 1.65 2006/02/10 05:28:56 djm Exp $ # $NetBSD: files.sparc64,v 1.50 2001/08/10 20:53:50 eeh Exp $ # maxpartitions must be first item in files.${ARCH} @@ -262,3 +262,13 @@ file arch/sparc64/dev/ofwi2c.c i2cbus # Machine-independent USB drivers # include "dev/usb/files.usb" + +# +# Machine-dependent I2C drivers +# + +# PCF8591 ADC I2C Sensor (needs ofw, so sparc64 only for now) +device pcfadc +attach pcfadc at i2c +file arch/sparc64/dev/pcf8591_ofw.c pcfadc + |