summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-03-29 19:56:34 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-03-29 19:56:34 +0000
commit162c2558fd38c0d979b1e354b2de058f0721363a (patch)
tree5adf48f2c93cd47bac5ec3051ba54f14a5bc1f9e
parenta84ab7328e1ccbfc00430e0bfc3a1950802054fd (diff)
Add device node for audio.
-rw-r--r--sys/arch/powerpc/powerpc/conf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/powerpc/powerpc/conf.c b/sys/arch/powerpc/powerpc/conf.c
index 3a5626d170f..eadfd8bad8d 100644
--- a/sys/arch/powerpc/powerpc/conf.c
+++ b/sys/arch/powerpc/powerpc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.19 2001/03/01 23:19:34 drahn Exp $ */
+/* $OpenBSD: conf.c,v 1.20 2001/03/29 19:56:33 drahn Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -183,6 +183,9 @@ cdev_decl(ucom);
#include "wsmux.h"
cdev_decl(wsmux);
+#include "audio.h"
+cdev_decl(audio);
+
struct cdevsw cdevsw[] = {
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -229,7 +232,7 @@ struct cdevsw cdevsw[] = {
cdev_uk_init(NUK,uk), /* 41: unknown SCSI */
cdev_ss_init(NSS,ss), /* 42: SCSI scanner */
cdev_ksyms_init(NKSYMS,ksyms), /* 43: Kernel symbols device */
- cdev_notdef(), /* 44 */
+ cdev_audio_init(NAUDIO,audio), /* 44: generic audio I/O */
cdev_notdef(), /* 45 */
cdev_notdef(), /* 46 */
cdev_notdef(), /* 47 */