Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/macppc Add audio, midi, and sequencer device...



details:   https://anonhg.NetBSD.org/src/rev/20d016d06ffb
branches:  trunk
changeset: 494103:20d016d06ffb
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Sat Jul 01 21:25:11 2000 +0000

description:
Add audio, midi, and sequencer devices. Copied from ports alpha and i386.

Note: this does not mean internal audio's working. :-( It means I'm trying
to get my eap card to work.

diffstat:

 sys/arch/macppc/macppc/conf.c |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 7ba602bdde2e -r 20d016d06ffb sys/arch/macppc/macppc/conf.c
--- a/sys/arch/macppc/macppc/conf.c     Sat Jul 01 20:27:11 2000 +0000
+++ b/sys/arch/macppc/macppc/conf.c     Sat Jul 01 21:25:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.21 2000/06/09 17:11:30 tsubai Exp $ */
+/*     $NetBSD: conf.c,v 1.22 2000/07/01 21:25:11 wrstuden Exp $       */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -105,6 +105,13 @@
 cdev_decl(zs);
 #include "ipfilter.h"
 #include "ch.h"
+cdev_decl(ch);
+#include "audio.h"
+cdev_decl(audio);
+#include "midi.h"
+cdev_decl(midi);
+#include "sequencer.h"
+cdev_decl(music);
 #include "ss.h"
 #include "uk.h"
 #include "ite.h"
@@ -200,6 +207,9 @@
        cdev_tty_init(NCOM,com),        /* 45: NS16x50 compatible ports */
        cdev_tty_init(NCZ,cztty),       /* 46: Cyclades-Z serial port */
        cdev_tty_init(NCY,cy),          /* 47: Cyclom-Y serial port */
+       cdev_audio_init(NAUDIO,audio),  /* 48: generic audio I/O */
+       cdev_midi_init(NMIDI,midi),     /* 49: MIDI I/O */
+       cdev_midi_init(NSEQUENCER,sequencer),   /* 50: sequencer I/O */
 };
 int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
 



Home | Main Index | Thread Index | Old Index