mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix misdetection of the sound chip on PC98 systems. The submitter doesn't
believe that there are PC98 systems with an OPTi chip. I don't know enough about this special PC architecture to be sure about this, so let's find out by letting people with such a system complain in case this commit breaks the sound system for them. It's easy to revert then. PR: 45673 Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
This commit is contained in:
parent
caad740808
commit
6643b656bb
1 changed files with 2 additions and 0 deletions
|
|
@ -1367,6 +1367,7 @@ mss_detect(device_t dev, struct mss_info *mss)
|
|||
name = "AD1848";
|
||||
mss->bd_id = MD_AD1848; /* AD1848 or CS4248 */
|
||||
|
||||
#ifndef PC98
|
||||
if (opti_detect(dev, mss)) {
|
||||
switch (mss->bd_id) {
|
||||
case MD_OPTI924:
|
||||
|
|
@ -1379,6 +1380,7 @@ mss_detect(device_t dev, struct mss_info *mss)
|
|||
printf("Found OPTi device %s\n", name);
|
||||
if (opti_init(dev, mss) == 0) goto gotit;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Check that the I/O address is in use.
|
||||
|
|
|
|||
Loading…
Reference in a new issue