diff options
| author | Seigo Tanimura <tanimura@FreeBSD.org> | 1999-12-14 06:36:51 +0000 |
|---|---|---|
| committer | Seigo Tanimura <tanimura@FreeBSD.org> | 1999-12-14 06:36:51 +0000 |
| commit | 53c3db57d1c2a38c0733280dc3143fe5d24735c5 (patch) | |
| tree | e1e58fba7c31fa4f3710c430b2e7d82de9c13f0b /sys | |
| parent | 9ac015cb2addbc8d267ec2a236841224fae03b06 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/isa/sound/sb16_dsp.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/i386/isa/sound/sb16_dsp.c b/sys/i386/isa/sound/sb16_dsp.c index e923176ed875..a9c3c34f6c05 100644 --- a/sys/i386/isa/sound/sb16_dsp.c +++ b/sys/i386/isa/sound/sb16_dsp.c @@ -27,6 +27,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * + * $FreeBSD$ + * */ #define DEB(x) @@ -378,8 +380,12 @@ sb16_dsp_trigger(int dev, int bits) if (!bits) sb_dsp_command(0xd0); /* Halt DMA */ - else if (bits & irq_mode) - sb_dsp_command(0xd4); /* Continue DMA */ + else if (bits & irq_mode) { + if (dsp_16bit) + sb_dsp_command(0xd6); /* Continue 16bit DMA */ + else + sb_dsp_command(0xd4); /* Continue 8bit DMA */ + } } static void |
