1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Pass configured irq and ports number back to isa

This commit is contained in:
Andrey A. Chernov 1997-03-26 17:14:21 +00:00
parent 7ee2669b4c
commit cc13c79696
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24297

View File

@ -511,7 +511,7 @@ sb16_dsp_detect (struct address_info *hw_config)
struct address_info *sb_config;
if (sb16_dsp_ok)
return 1; /* Can't drive two cards */
return 0; /* Can't drive two cards */
if (!(sb_config = sound_getconf (SNDCARD_SB)))
{
@ -530,6 +530,7 @@ sb16_dsp_detect (struct address_info *hw_config)
return 0; /* Not a SB16 */
hw_config->io_base = sb_config->io_base;
hw_config->irq = sb_config->irq;
#ifdef PC98
hw_config->dma = sb_config->dma;
#else
@ -557,7 +558,7 @@ sb16_dsp_detect (struct address_info *hw_config)
* dsp_showmessage(0xe3,99);
*/
sb16_dsp_ok = 1;
return 1;
return 0x10;
}
void