summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authordan <dan@FreeBSD.org>2000-06-09 16:44:30 +0000
committerdan <dan@FreeBSD.org>2000-06-09 16:44:30 +0000
commit1226423ba74bbb12b78fdec0a86fb64d638ae045 (patch)
tree8729663d84925c84938be651f0095f2a07cc1916 /sys/dev/sound
parentb63dd89678654021d2b39b07fb55bf80096acecd (diff)
downloadFreeBSD-src-1226423ba74bbb12b78fdec0a86fb64d638ae045.zip
FreeBSD-src-1226423ba74bbb12b78fdec0a86fb64d638ae045.tar.gz
Increase delay from 10mu to 1000mu when reading play control size. This
allows the YMF744 to initialize properly.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pci/ds1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/ds1.c b/sys/dev/sound/pci/ds1.c
index d7197e7..3a81985 100644
--- a/sys/dev/sound/pci/ds1.c
+++ b/sys/dev/sound/pci/ds1.c
@@ -798,7 +798,7 @@ ds_init(struct sc_info *sc)
pcs = ds_rd(sc, YDSXGR_PLAYCTRLSIZE, 4) << 2;
if (pcs == sizeof(struct pbank))
break;
- DELAY(10);
+ DELAY(1000);
}
if (pcs != sizeof(struct pbank)) {
device_printf(sc->dev, "preposterous playctrlsize (%d)\n", pcs);
OpenPOWER on IntegriCloud