diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-20 18:54:43 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-20 18:54:43 +0000 |
commit | 4aa4278abd98f54dd19fb4a0017e0d651b50704e (patch) | |
tree | 01986c229b25db6a571c0d83e3a237842a5140d0 /sys/arch/sparc64/conf | |
parent | e1c03cbde4f0cdc00a39d923779ffe9ffe7d93c5 (diff) |
Add support for the temperature sensors on the SUNW,envctrltwo device found
on the Sun Enterprise 250. This device (and SUNW,envctrl found on the
Enterprise 450) is a PCF8584 I2C controller with several generic I2C chips
attached to it.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64/conf')
-rw-r--r-- | sys/arch/sparc64/conf/GENERIC | 5 | ||||
-rw-r--r-- | sys/arch/sparc64/conf/files.sparc64 | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/sys/arch/sparc64/conf/GENERIC b/sys/arch/sparc64/conf/GENERIC index 2844a82fa9e..65fd8fe658c 100644 --- a/sys/arch/sparc64/conf/GENERIC +++ b/sys/arch/sparc64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.186 2007/10/08 12:56:37 deraadt Exp $ +# $OpenBSD: GENERIC,v 1.187 2007/10/20 18:54:42 kettenis Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -383,7 +383,8 @@ lmenv* at iic? # National Semiconductor LM87 lmtemp* at iic? # NS LM75/LM77 temperature sensor maxds* at iic? # Maxim DS1631 maxtmp* at iic? # Maxim MAX6642/MAX6690 -pcfadc* at iic? # Philips PCF8591 +pcfadc* at iic? # Philips PCF8591 +ecadc* at iic? # SUNW,envctrl temperature sensors spdmem* at iic? # SPD memory eeproms # Framebuffers diff --git a/sys/arch/sparc64/conf/files.sparc64 b/sys/arch/sparc64/conf/files.sparc64 index c9150465f13..4b51481f49b 100644 --- a/sys/arch/sparc64/conf/files.sparc64 +++ b/sys/arch/sparc64/conf/files.sparc64 @@ -1,4 +1,4 @@ -# $OpenBSD: files.sparc64,v 1.90 2007/10/10 15:53:53 art Exp $ +# $OpenBSD: files.sparc64,v 1.91 2007/10/20 18:54:42 kettenis Exp $ # $NetBSD: files.sparc64,v 1.50 2001/08/10 20:53:50 eeh Exp $ # maxpartitions must be first item in files.${ARCH} @@ -301,6 +301,11 @@ device pcfadc attach pcfadc at i2c file arch/sparc64/dev/pcf8591_ofw.c pcfadc +# PCF8591 ADC I2C Sensor (envctrl, so sparc64 only) +device ecadc +attach ecadc at i2c +file arch/sparc64/dev/pcf8591_envctrl.c ecadc + # # Machine-independent GPIO drivers # |