Return ports number in probe now

This commit is contained in:
Andrey A. Chernov 1997-03-26 16:07:20 +00:00
parent 2a64e5d6b8
commit 88bbadf749
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24291
2 changed files with 8 additions and 2 deletions

View File

@ -45,7 +45,10 @@ attach_adlib_card (long mem_start, struct address_info *hw_config)
int
probe_adlib (struct address_info *hw_config)
{
return opl3_detect (FM_MONO);
if (opl3_detect (FM_MONO))
return 4;
else
return 0;
}
#endif

View File

@ -307,7 +307,10 @@ probe_sb16midi (struct address_info *hw_config)
ok = reset_sb16midi ();
sb16midi_detected = ok;
return ok;
if (ok)
return 2;
else
return 0;
}
#endif