summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2006-03-04 16:27:04 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2006-03-04 16:27:04 +0000
commitb9fdb6aa1f532061d14d21ff8ee5f45831608e29 (patch)
tree9e1d8c3405a020362b98336dad9791c05cf2d89e /sys/arch/i386
parent15aac0ded9c4353cc6a757bb184367d5503f80d8 (diff)
Dallas 1-Wire bus support. Includes the following drivers:
gpioow(4) 1-Wire bus bit-banging through GPIO pin onewire(4) 1-Wire bus driver owid(4) 1-Wire ID family type device owtemp(4) 1-Wire temperature family type device Drivers for RS-232 and USB bus masters will follow. ok deraadt@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/conf/GENERIC9
-rw-r--r--sys/arch/i386/conf/files.i3867
2 files changed, 14 insertions, 2 deletions
diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC
index b2f64d78a87..02096997e4c 100644
--- a/sys/arch/i386/conf/GENERIC
+++ b/sys/arch/i386/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.473 2006/03/04 15:33:37 grange Exp $
+# $OpenBSD: GENERIC,v 1.474 2006/03/04 16:27:03 grange Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -73,6 +73,7 @@ option ACPIVERBOSE
option PCIVERBOSE
option EISAVERBOSE
option USBVERBOSE
+option ONEWIREVERBOSE
pchb* at pci? # PCI-Host bridges
ppb* at pci? # PCI-PCI bridges
@@ -639,6 +640,12 @@ scsibus* at ioprbs?
# GPIO ``pin bus'' drivers
#gpioiic* at gpio? offset 0 mask 0x3 # I2C bus bit-banging
#iic* at gpioiic?
+#gpioow* at gpio? offset 0 mask 0x1 # 1-Wire bus bit-banging
+#onewire* at gpioow?
+
+# 1-Wire devices
+#owid* at onewire? # ID
+#owtemp* at onewire? # Temperature
pseudo-device pctr 1
pseudo-device mtrr 1 # Memory range attributes control
diff --git a/sys/arch/i386/conf/files.i386 b/sys/arch/i386/conf/files.i386
index 8dd8e70e341..d3130003116 100644
--- a/sys/arch/i386/conf/files.i386
+++ b/sys/arch/i386/conf/files.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: files.i386,v 1.143 2006/02/12 19:55:39 miod Exp $
+# $OpenBSD: files.i386,v 1.144 2006/03/04 16:27:03 grange Exp $
#
# new style config file for i386 architecture
#
@@ -394,6 +394,11 @@ include "dev/i2c/files.i2c"
#
include "dev/gpio/files.gpio"
+#
+# Machine-independent 1-Wire drivers
+#
+include "dev/onewire/files.onewire"
+
include "../../../dev/acpi/files.acpi"
file arch/i386/i386/acpi_machdep.c acpi