From owner-cvs-all Tue Jul 30 3:54:23 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 466D737B400; Tue, 30 Jul 2002 03:54:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FC7143E5E; Tue, 30 Jul 2002 03:54:20 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from freefall.freebsd.org (sobomax@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6UAsJJU040300; Tue, 30 Jul 2002 03:54:19 -0700 (PDT) (envelope-from sobomax@freefall.freebsd.org) Received: (from sobomax@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6UAsJrK040299; Tue, 30 Jul 2002 03:54:19 -0700 (PDT) Message-Id: <200207301054.g6UAsJrK040299@freefall.freebsd.org> From: Maxim Sobolev Date: Tue, 30 Jul 2002 03:54:19 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pci fm801.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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