Return ports number in probe now

This commit is contained in:
ache 1997-03-26 16:07:20 +00:00
parent 2fedf11160
commit 19ffb14005
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