From owner-cvs-src@FreeBSD.ORG Sun Jul 31 13:19:39 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E8E916A41F; Sun, 31 Jul 2005 13:19:39 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 511FF43D45; Sun, 31 Jul 2005 13:19:39 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6VDJdPe070599; Sun, 31 Jul 2005 13:19:39 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6VDJddZ070597; Sun, 31 Jul 2005 13:19:39 GMT (envelope-from netchild) Message-Id: <200507311319.j6VDJddZ070597@repoman.freebsd.org> From: Alexander Leidinger Date: Sun, 31 Jul 2005 13:19:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/sound/pci es137x.c es137x.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2005 13:19:39 -0000 netchild 2005-07-31 13:19:38 UTC FreeBSD src repository Modified files: sys/dev/sound/pci es137x.c es137x.h Log: * Register programming error during device initialization especially for CT4730 / EV1938 chip, causing misconfigured mixer (David Xu), crippled after power cycle (Kevin Oberman). Fixed. * Incorporate locking/spdif patches from Jon Noack / matk. Not all es137x can really do spdif, clean it up a bit to only let few capable chip. This adds a "hw.snd.pcm.spdif_enabled" sysctl until a more generic way of handling this from userland (by an ordinary user) is designed/implemented. * Convert all bus_space_(read|write) to use es_rd/es_wr, simmilar with other drivers. * Add tunable hw.snd.pcm.latency_timer sysctl to toggle pci latency timer value on the fly. Much noise / pop / crackling issues can be solved by increasing its value. Other people have pointed out to use pciconf instead, but this is just an added value specific for CT4730/EV1938. * Remove es137x specific debug sysctl/code. Several PRs can now be closed. Submitted by: Ariff Abdullah Submitted by: Jon Noack (implicit) Submitted by: matk (implicit) PR: 59349, 68594, 73498 Tested by: multimedia@ Revision Changes Path 1.56 +267 -127 src/sys/dev/sound/pci/es137x.c 1.6 +11 -0 src/sys/dev/sound/pci/es137x.h