Define an audio device at c-major 42 and reserve 41 for wscons.
This commit is contained in:
parent
4c4e4258e2
commit
b9ba082e30
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.c,v 1.40 1999/04/19 21:22:57 kleink Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.41 1999/10/28 13:43:54 leo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
|
@ -191,6 +191,7 @@ cdev_decl(i4btel);
|
|||
(dev_type_stop((*))) enodev, 0, seltrue, \
|
||||
dev_init(c,n,mmap) }
|
||||
|
||||
#include "audio.h"
|
||||
#include "bpfilter.h"
|
||||
#include "ch.h"
|
||||
#include "et.h"
|
||||
|
@ -213,6 +214,7 @@ cdev_decl(i4btel);
|
|||
#include "leo.h"
|
||||
#include "scsibus.h"
|
||||
|
||||
cdev_decl(audio);
|
||||
cdev_decl(bpf);
|
||||
cdev_decl(ccd);
|
||||
cdev_decl(cd);
|
||||
|
@ -296,8 +298,8 @@ struct cdevsw cdevsw[] =
|
|||
cdev_rnd_init(NRND,rnd), /* 38: random source pseudo-device */
|
||||
cdev_leo_init(NLEO,leo), /* 39: Circad Leonardo video */
|
||||
cdev_et_init(NET,et), /* 40: ET4000 color video */
|
||||
cdev_notdef(), /* 41 */
|
||||
cdev_notdef(), /* 42 */
|
||||
cdev_notdef(), /* 41: wscons placeholder */
|
||||
cdev_audio_init(NAUDIO,audio), /* 42 */
|
||||
cdev_notdef(), /* 43 */
|
||||
#ifdef __I4B_IS_INTEGRATED
|
||||
/* i4b character devices */
|
||||
|
|
Loading…
Reference in New Issue