mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
Return ports number in probe now
This commit is contained in:
parent
2a64e5d6b8
commit
88bbadf749
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24291
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user