summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2000-07-30 02:33:37 +0000
committercg <cg@FreeBSD.org>2000-07-30 02:33:37 +0000
commit24f340732c1992352684993dbe28a12f3aaa56fb (patch)
tree0d53e6162d5369310350144a9b75c92607f5652f
parentdcb2b5952231f2d205240204fcf3462732085f48 (diff)
downloadFreeBSD-src-24f340732c1992352684993dbe28a12f3aaa56fb.zip
FreeBSD-src-24f340732c1992352684993dbe28a12f3aaa56fb.tar.gz
do the ac97 init delay for all chips and increase it to 500ms
-rw-r--r--sys/dev/sound/pci/ds1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/ds1.c b/sys/dev/sound/pci/ds1.c
index 61559c8..07b0918 100644
--- a/sys/dev/sound/pci/ds1.c
+++ b/sys/dev/sound/pci/ds1.c
@@ -291,9 +291,10 @@ ds_initcd(void *devinfo)
* "pcm0: ac97 codec init failed"
* Maybe this is needed for all YMF740's?
* 400ms and 500ms here seem to work, 300ms does not.
+ *
+ * do it for all chips -cg
*/
- if (sc->type == 8)
- DELAY(400000);
+ DELAY(500000);
}
return ds_cdbusy(sc, 0);
OpenPOWER on IntegriCloud