summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorfvdl <fvdl@NetBSD.org>2003-03-03 23:49:18 +0000
committerfvdl <fvdl@NetBSD.org>2003-03-03 23:49:18 +0000
commitd8464bf76781f4fe6e95f91ed39f468b34dbb25d (patch)
treeb6aee0edd563b76e12fafa7d8d80583713327d3e /sys/dev
parenta124f92ed506ea3a2f6ea41b9ef76ed6afa260c0 (diff)
The intrmasks array is only used in if 0-ed code, so if 0 it as well.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/emuxki.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c
index a88d7b16cad..53e624f14fd 100644
--- a/sys/dev/pci/emuxki.c
+++ b/sys/dev/pci/emuxki.c
@@ -1,4 +1,4 @@
-/* $NetBSD: emuxki.c,v 1.19 2003/02/25 08:48:24 toshii Exp $ */
+/* $NetBSD: emuxki.c,v 1.20 2003/03/03 23:49:18 fvdl Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.19 2003/02/25 08:48:24 toshii Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.20 2003/03/03 23:49:18 fvdl Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -213,8 +213,10 @@ static struct audio_hw_if emuxki_hw_if = {
static const int emuxki_recsrc_adcrates[] =
{ 48000, 44100, 32000, 24000, 22050, 16000, 11025, 8000, -1 };
+#if 0
static const int emuxki_recsrc_intrmasks[EMU_NUMRECSRCS] =
{ EMU_INTE_MICBUFENABLE, EMU_INTE_ADCBUFENABLE, EMU_INTE_EFXBUFENABLE };
+#endif
static const u_int32_t emuxki_recsrc_bufaddrreg[EMU_NUMRECSRCS] =
{ EMU_MICBA, EMU_ADCBA, EMU_FXBA };
static const u_int32_t emuxki_recsrc_idxreg[EMU_NUMRECSRCS] =