>From: "Andrew A. Chernov" <ache@freefall.cdrom.com>

Subject: Bugfix for SB16 with DSP version 4 and above

No description sent, but it appears to fix a major number problem
with certain models of the SB16.
This commit is contained in:
Rodney W. Grimes 1994-02-21 14:20:45 +00:00
parent 84a161c5f1
commit 1ffa0b1a96
1 changed files with 2 additions and 8 deletions

View File

@ -1262,8 +1262,7 @@ sb_dsp_init (long mem_start, struct address_info *hw_config)
}
}
}
if (major == 2)
dsp_model = 2;
dsp_model = major;
#ifndef EXCLUDE_SBPRO
if (detect_mixer ())
@ -1271,14 +1270,9 @@ sb_dsp_init (long mem_start, struct address_info *hw_config)
dsp_mono = 0;
sprintf (sb_dsp_operations.name, "SoundBlaster Pro %d.%d", major, minor);
init_mixer ();
#if SBC_DMA < 4
/* This is a kludge for SB16 cards */
if (major == 3)
dsp_model = 2; /* Do not enable if SB16 */
#endif
mixer_devs[num_mixers++] = &sb_mixer_operations;
if (major == 2 || major == 3)
if (major >= 2)
duplex_midi = 1;
#ifndef EXCLUDE_YM8312