summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>1998-11-04 09:13:20 +0000
committerluigi <luigi@FreeBSD.org>1998-11-04 09:13:20 +0000
commit2842a92b369f2ed354ea372152923124f3392ad0 (patch)
tree499df9a069929d7b8b630f9f35a721ccfb2450ac /sys
parent6ffb967233b85d10142c589de4fc3f0738b67225 (diff)
downloadFreeBSD-src-2842a92b369f2ed354ea372152923124f3392ad0.zip
FreeBSD-src-2842a92b369f2ed354ea372152923124f3392ad0.tar.gz
Remove an error message from sb interrupt driver -- it
does not apply to all situations.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pcm/isa/sb.c8
-rw-r--r--sys/dev/sound/isa/sb.c8
-rw-r--r--sys/dev/sound/isa/sb16.c8
-rw-r--r--sys/dev/sound/isa/sb8.c8
-rw-r--r--sys/i386/isa/snd/sb_dsp.c8
5 files changed, 0 insertions, 40 deletions
diff --git a/sys/dev/pcm/isa/sb.c b/sys/dev/pcm/isa/sb.c
index 96d0e62..2b2e84a 100644
--- a/sys/dev/pcm/isa/sb.c
+++ b/sys/dev/pcm/isa/sb.c
@@ -324,18 +324,10 @@ again:
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: wrintr but write DMA inactive!\n");
- }
}
if ( reason & 2 ) {
if ( d->dbuf_in.dl )
dsp_rdintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: rdintr but read DMA inactive!\n");
- }
}
if ( c & 2 )
inb(DSP_DATA_AVL16); /* 16-bit int ack */
diff --git a/sys/dev/sound/isa/sb.c b/sys/dev/sound/isa/sb.c
index 96d0e62..2b2e84a 100644
--- a/sys/dev/sound/isa/sb.c
+++ b/sys/dev/sound/isa/sb.c
@@ -324,18 +324,10 @@ again:
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: wrintr but write DMA inactive!\n");
- }
}
if ( reason & 2 ) {
if ( d->dbuf_in.dl )
dsp_rdintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: rdintr but read DMA inactive!\n");
- }
}
if ( c & 2 )
inb(DSP_DATA_AVL16); /* 16-bit int ack */
diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c
index 96d0e62..2b2e84a 100644
--- a/sys/dev/sound/isa/sb16.c
+++ b/sys/dev/sound/isa/sb16.c
@@ -324,18 +324,10 @@ again:
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: wrintr but write DMA inactive!\n");
- }
}
if ( reason & 2 ) {
if ( d->dbuf_in.dl )
dsp_rdintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: rdintr but read DMA inactive!\n");
- }
}
if ( c & 2 )
inb(DSP_DATA_AVL16); /* 16-bit int ack */
diff --git a/sys/dev/sound/isa/sb8.c b/sys/dev/sound/isa/sb8.c
index 96d0e62..2b2e84a 100644
--- a/sys/dev/sound/isa/sb8.c
+++ b/sys/dev/sound/isa/sb8.c
@@ -324,18 +324,10 @@ again:
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: wrintr but write DMA inactive!\n");
- }
}
if ( reason & 2 ) {
if ( d->dbuf_in.dl )
dsp_rdintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: rdintr but read DMA inactive!\n");
- }
}
if ( c & 2 )
inb(DSP_DATA_AVL16); /* 16-bit int ack */
diff --git a/sys/i386/isa/snd/sb_dsp.c b/sys/i386/isa/snd/sb_dsp.c
index 96d0e62..2b2e84a 100644
--- a/sys/i386/isa/snd/sb_dsp.c
+++ b/sys/i386/isa/snd/sb_dsp.c
@@ -324,18 +324,10 @@ again:
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: wrintr but write DMA inactive!\n");
- }
}
if ( reason & 2 ) {
if ( d->dbuf_in.dl )
dsp_rdintr(d);
- else {
- if (PLAIN_SB16(d->bd_flags))
- printf("WARNING: rdintr but read DMA inactive!\n");
- }
}
if ( c & 2 )
inb(DSP_DATA_AVL16); /* 16-bit int ack */
OpenPOWER on IntegriCloud