From owner-cvs-all@FreeBSD.ORG Tue Aug 12 02:45:35 2003 Return-Path: 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 D25B137B401; Tue, 12 Aug 2003 02:45:35 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5568943F75; Tue, 12 Aug 2003 02:45:35 -0700 (PDT) (envelope-from alex@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7C9jZ0U029702; Tue, 12 Aug 2003 02:45:35 -0700 (PDT) (envelope-from alex@repoman.freebsd.org) Received: (from alex@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7C9jZ6o029701; Tue, 12 Aug 2003 02:45:35 -0700 (PDT) Message-Id: <200308120945.h7C9jZ6o029701@repoman.freebsd.org> From: Alexander Langer Date: Tue, 12 Aug 2003 02:45:35 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf NOTES files options src/sys/dev/bktr bktr_audio.c bktr_audio.h bktr_core.c bktr_os.c bktr_reg.h msp34xx.c src/sys/modules/bktr/bktr Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 09:45:36 -0000 alex 2003/08/12 02:45:35 PDT FreeBSD src repository (doc,ports committer) Modified files: sys/conf NOTES files options sys/dev/bktr bktr_audio.c bktr_audio.h bktr_core.c bktr_os.c bktr_reg.h sys/modules/bktr/bktr Makefile Added files: sys/dev/bktr msp34xx.c Log: Add a overhaul of the soundchip initialization for the MSP34xx chipsets found only many tv-cards. We currently use more ore less evil hacks (slow_msp_audio sysctl) to configure the various variants of these chips in order to have stereo autodetection work. Nevertheless, this doesn't always work even though it _should_, according to the specs. This is, for example, the case for some popular Hauppauge models sold sold in Germany. However, the Linux driver always worked for me and others. Looking at the sourcecode you will find that the linux-driver uses a very much enhanced approach to program the various msp34xx chipset variants, which is also found in the specs for these chips. This is a port of the Linux MSP34xx code, written by Gerd Knorr , who agreed to re-release his code under a BSD license for this port. A new config option "BKTR_NEW_MSP34XX_DRIVER" is added, which is required to enable the new driver. Otherwise the old code is used. The msp34xx.c file is diff-reduced to the linux-driver to make later modifications easier, thus it doesn't follow style(9) in most cases. Approved by: roger (committing this, no time to test/review), keichii (code review) Revision Changes Path 1.1169 +4 -0 src/sys/conf/NOTES 1.814 +1 -0 src/sys/conf/files 1.410 +1 -0 src/sys/conf/options 1.10 +11 -0 src/sys/dev/bktr/bktr_audio.c 1.3 +7 -2 src/sys/dev/bktr/bktr_audio.h 1.127 +21 -0 src/sys/dev/bktr/bktr_core.c 1.36 +37 -0 src/sys/dev/bktr/bktr_os.c 1.45 +9 -0 src/sys/dev/bktr/bktr_reg.h 1.1 +1255 -0 src/sys/dev/bktr/msp34xx.c (new) 1.6 +1 -1 src/sys/modules/bktr/bktr/Makefile