summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-12-21 23:12:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-12-21 23:12:04 +0000
commitb909aca3812a992bda13f97d82c90b08658053d4 (patch)
tree948fa1cd2ddb9858d8ffd5ba76fe4f2da1324ab1 /sys/arch/hp300/conf
parent2348e0f29912799f5958c0165d793b37c57131a2 (diff)
Work-in-progress driver for the HP ``Audio1'' device found on the HP 9000/425e
(hp300) and the HP9000/705 and 9000/710 (hppa). 8-bit mono, 8KHz, no surprise since it is based upon a digital phone chip. Tested on 425e only so far, and playback only; configured in, but disabled, on hppa kernels until there are positive test reports (I am not sure the interrupt assignment on hppa is correct). And now people no longer can joke about audio on hp300.
Diffstat (limited to 'sys/arch/hp300/conf')
-rw-r--r--sys/arch/hp300/conf/GENERIC6
-rw-r--r--sys/arch/hp300/conf/files.hp3006
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/hp300/conf/GENERIC b/sys/arch/hp300/conf/GENERIC
index a9ab106a3ab..2457542053a 100644
--- a/sys/arch/hp300/conf/GENERIC
+++ b/sys/arch/hp300/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.54 2011/08/18 20:03:38 miod Exp $
+# $OpenBSD: GENERIC,v 1.55 2011/12/21 23:12:03 miod Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -133,6 +133,10 @@ safte* at scsibus? # SCSI AF-TE
ses* at scsibus? # SCSI enclosure services
uk* at scsibus? # unknown SCSI devices
+# 425e digital audio
+arcofi* at dio?
+audio* at arcofi?
+
# ISA devices
#isa* at isabr?
diff --git a/sys/arch/hp300/conf/files.hp300 b/sys/arch/hp300/conf/files.hp300
index de89cc0fec4..be350469270 100644
--- a/sys/arch/hp300/conf/files.hp300
+++ b/sys/arch/hp300/conf/files.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: files.hp300,v 1.34 2011/08/18 20:02:57 miod Exp $
+# $OpenBSD: files.hp300,v 1.35 2011/12/21 23:12:03 miod Exp $
# $NetBSD: files.hp300,v 1.28 1997/05/12 08:23:28 thorpej Exp $
#
# hp300-specific configuration info
@@ -125,6 +125,10 @@ file arch/hp300/dev/dcm.c dcm needs-flag
attach le at dio
file arch/hp300/dev/if_le.c le
+# 425e digital audio
+attach arcofi at dio with arcofi_dio
+file arch/hp300/dev/arcofi_dio.c arcofi_dio
+
# HP-IB interfaces
define hpibdev {}