summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-17 16:54:22 +0000
committerbde <bde@FreeBSD.org>1998-06-17 16:54:22 +0000
commit70674f0276b68f0b5c33553f91ae618e192ba534 (patch)
tree8050dcbe8a64f3fe14bd339dbc27f4e49141734a /sys
parent149a7bbdfc706672d4e0e113815007bacc2b76ce (diff)
downloadFreeBSD-src-70674f0276b68f0b5c33553f91ae618e192ba534.zip
FreeBSD-src-70674f0276b68f0b5c33553f91ae618e192ba534.tar.gz
Don't depend on <sys/conf.h> declaring isa device structs or isa
interrupt handlers. pcm is not in LINT, so it is hard to test.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/isa_device.h3
-rw-r--r--sys/i386/isa/snd/sound.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/isa/isa_device.h b/sys/i386/isa/isa_device.h
index 03373b3..3b315da 100644
--- a/sys/i386/isa/isa_device.h
+++ b/sys/i386/isa/isa_device.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91
- * $Id: isa_device.h,v 1.48 1998/06/17 14:58:01 bde Exp $
+ * $Id: isa_device.h,v 1.49 1998/06/17 16:32:23 kato Exp $
*/
#ifndef _I386_ISA_ISA_DEVICE_H_
@@ -154,6 +154,7 @@ inthand2_t mseintr;
inthand2_t ncaintr;
inthand2_t npxintr;
inthand2_t pasintr;
+inthand2_t pcmintr;
inthand2_t pcrint;
inthand2_t ppcintr;
inthand2_t psmintr;
diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c
index 7257715..2e86e20 100644
--- a/sys/i386/isa/snd/sound.c
+++ b/sys/i386/isa/snd/sound.c
@@ -57,8 +57,9 @@
#include <sys/devfsext.h>
#endif /* DEVFS */
+#if NPCM > 0 /* from "pcm.h" via disgusting #include in snd/sound.h */
-#if NPCM > 0 /* from "snd.h" */
+extern struct isa_driver pcmdriver;
#define SNDSTAT_BUF_SIZE 4000
static char status_buf[SNDSTAT_BUF_SIZE] ;
OpenPOWER on IntegriCloud