Bug 20280

Summary: YMF724 initialization fails on my environment.
Product: Base System Reporter: inoue <inoue>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description inoue 2000-07-29 04:50:01 UTC
In my system the YMF724 based board (YAMAHA Waveforce 192D) is installed. I tried to make the kernel with the option
device		pcm
but it fails to initialize as follows:

pcm0: <Yamaha DS-1E (YMF724F)> mem 0xed020000-0xed027fff irq 11 at device 9.0 on pci0
pcm0: ac97 codec init failed

Fix: 

In /sys/dev/sound/pci/ds1.c there is the following code:

		if (sc->type == 8)
			DELAY(400000);

When I commented out the 'if' line and increased the delay to 500000, the chip is correctly initialized.
How-To-Repeat: 
In the same hardware environment, make kernel with the above configuration and reboot. It may (or not) occur.
Comment 1 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-07-29 17:56:08 UTC
State Changed
From-To: open->closed

Duplicate of kern/20278 


Comment 2 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-07-29 17:56:08 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled PR