From b9fdb6aa1f532061d14d21ff8ee5f45831608e29 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Sat, 4 Mar 2006 16:27:04 +0000 Subject: 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@ --- sys/arch/i386/conf/GENERIC | 9 ++++++++- sys/arch/i386/conf/files.i386 | 7 ++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386') 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 -- cgit v1.2.3