summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2002-01-23 05:21:04 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2002-01-23 05:21:04 +0000
commit9d6780b3ebdb2fc788e0cd0af82c001a10b3f3a1 (patch)
treef5d8dc91eede389bca4925a626050995926e292e /sys/arch
parent2792828aa1082d91987b05ec3ae3e2421b531509 (diff)
add midi and sequencer devices
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/conf.c12
-rw-r--r--sys/arch/alpha/conf/GENERIC4
2 files changed, 10 insertions, 6 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c
index c7602d7bdf9..0f6eca1321f 100644
--- a/sys/arch/alpha/alpha/conf.c
+++ b/sys/arch/alpha/alpha/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.36 2002/01/23 05:06:39 ericj Exp $ */
+/* $OpenBSD: conf.c,v 1.37 2002/01/23 05:21:03 ericj Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
@@ -102,6 +102,10 @@ cdev_decl(com);
#include "wsdisplay.h"
#include "wskbd.h"
#include "wsmouse.h"
+#include "midi.h"
+cdev_decl(midi);
+#include "sequencer.h"
+cdev_decl(music);
#include "spkr.h"
cdev_decl(spkr);
@@ -183,9 +187,9 @@ struct cdevsw cdevsw[] =
cdev_disk_init(NFD,fd), /* 37: Floppy disk */
cdev_tty_init(NCY,cy), /* 38: Cyclom serial port */
cdev_ksyms_init(NKSYMS,ksyms), /* 39: Kernel symbols device */
- cdev_notdef(), /* 40 */
- cdev_spkr_init(NSPKR,spkr), /* 41: PC speaker */
- cdev_notdef(), /* 42 */
+ cdev_spkr_init(NSPKR,spkr), /* 40: PC speaker */
+ cdev_midi_init(NMIDI,midi), /* 41: MIDI I/O */
+ cdev_midi_init(NSEQUENCER,sequencer), /* 42: sequencer I/O */
cdev_disk_init(NRAID,raid), /* 43: RAIDframe disk driver */
cdev_notdef(), /* 44 */
cdev_usb_init(NUSB,usb), /* 45: USB controller */
diff --git a/sys/arch/alpha/conf/GENERIC b/sys/arch/alpha/conf/GENERIC
index 7385a6ace42..d2f175b5e7c 100644
--- a/sys/arch/alpha/conf/GENERIC
+++ b/sys/arch/alpha/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.95 2002/01/23 05:06:39 ericj Exp $
+# $OpenBSD: GENERIC,v 1.96 2002/01/23 05:21:03 ericj Exp $
# $NetBSD: GENERIC,v 1.31 1996/12/03 17:25:29 cgd Exp $
machine alpha
@@ -308,4 +308,4 @@ hifn* at pci? dev ? function ? # Hi/fn 7751 crypto card
#pseudo-device raid 4 # RAIDframe disk driver
pseudo-device crypto 1
-
+pseudo-device sequencer 1