summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-09-11 10:07:12 +0000
committernetchild <netchild@FreeBSD.org>2005-09-11 10:07:12 +0000
commit3af413ca70b1a91cb939973f7faec58a43a5963c (patch)
treec65a9ae5be5d971d28e83b800b3245e1fe0a238a /sys/dev
parent34f358a569b1716cb5f564089b4a09cdfa4d3d1e (diff)
downloadFreeBSD-src-3af413ca70b1a91cb939973f7faec58a43a5963c.zip
FreeBSD-src-3af413ca70b1a91cb939973f7faec58a43a5963c.tar.gz
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>
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sound/isa/mss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c
index 53bf70e..298fe60 100644
--- a/sys/dev/sound/isa/mss.c
+++ b/sys/dev/sound/isa/mss.c
@@ -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.
OpenPOWER on IntegriCloud