summaryrefslogtreecommitdiffstats
path: root/sys/modules/bktr
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2003-08-12 09:45:34 +0000
committeralex <alex@FreeBSD.org>2003-08-12 09:45:34 +0000
commit5a92b7380ada0d2403e8b5d729f79845ae9131e6 (patch)
tree0b8f76f09a635120a6936a9eaf05074c6f055423 /sys/modules/bktr
parentcb02f3b09ac035998dd09825ae517ffa44cac0bd (diff)
downloadFreeBSD-src-5a92b7380ada0d2403e8b5d729f79845ae9131e6.zip
FreeBSD-src-5a92b7380ada0d2403e8b5d729f79845ae9131e6.tar.gz
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 <kraxel@bytesex.org>, 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)
Diffstat (limited to 'sys/modules/bktr')
-rw-r--r--sys/modules/bktr/bktr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/bktr/bktr/Makefile b/sys/modules/bktr/bktr/Makefile
index 1bc54e1..f77900b 100644
--- a/sys/modules/bktr/bktr/Makefile
+++ b/sys/modules/bktr/bktr/Makefile
@@ -5,7 +5,7 @@
.PATH: ${.CURDIR}/../../../dev/bktr
KMOD= bktr
-SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c \
+SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c msp34xx.c \
opt_devfs.h opt_bktr.h bus_if.h device_if.h \
pci_if.h vnode_if.h
OpenPOWER on IntegriCloud