diff options
| author | leo <leo@NetBSD.org> | 1999-10-28 13:43:54 +0000 |
|---|---|---|
| committer | leo <leo@NetBSD.org> | 1999-10-28 13:43:54 +0000 |
| commit | b9ba082e30791a6d1502ff92fd1b0dddca1c8dc2 (patch) | |
| tree | 62e0a0b55e6e3f66538bf0b8f6240c51f430db0c /sys | |
| parent | 4c4e4258e2c78639a96d2aa317573dc087e7dec7 (diff) | |
Define an audio device at c-major 42 and reserve 41 for wscons.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/atari/atari/conf.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/atari/atari/conf.c b/sys/arch/atari/atari/conf.c index d997f3acb25..d03b753dee1 100644 --- a/sys/arch/atari/atari/conf.c +++ b/sys/arch/atari/atari/conf.c @@ -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 */ |
