Date: Tue, 30 Jul 2002 03:54:19 -0700 (PDT) From: Maxim Sobolev <sobomax@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pci fm801.c Message-ID: <200207301054.g6UAsJrK040299@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2002/07/30 03:54:19 PDT
Modified files:
sys/dev/sound/pci fm801.c
Log:
Add a quick check that device actually has sound capabilities. The problem
is that some cards built around fm801 chip have the same device ID, only
have radio tuner onboard, but no sound capabilities. Therefore, with such
card inserted and `device pcm' in kernel the user has a big problem, as
the fm801 driver effectively hangs the machine when trying to initialise
nonexistent ac97 codecs (it does 500 retries with 1 second interval!).
It would be better if MediaForte's engeneers were smart enough to put
different device ID into such cards, but it isn't an option.
MFC after: 2 weeks
Revision Changes Path
1.13 +9 -2 src/sys/dev/sound/pci/fm801.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207301054.g6UAsJrK040299>
