freebsd-dev/sys/modules
Alexander Langer 30e27d9623 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)
2003-08-12 09:45:34 +00:00
..
3dfx Remove NOMAN 2001-03-27 19:04:09 +00:00
aac Revert the use of -g that leaked in. 2003-02-26 06:56:46 +00:00
accf_data
accf_http
acpi Fix the ACPI_DEBUG build for the non-module case. Move the #define into 2003-07-15 19:18:41 +00:00
agp Split the arch-specific AGP files into the appropriate files.* and do the same 2003-02-14 06:33:52 +00:00
aha
aic Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
aic7xxx Update GENSRCS and aicasm options correctly depending on whether register 2003-01-22 21:56:54 +00:00
aio Make AIO a loadable module. 2001-12-29 07:13:47 +00:00
amd Move the amd(4) driver to it's own directory in preparation for it growing 2002-12-13 22:59:18 +00:00
amr (1) added LSI Logic copyright, and legal line 3 in license, and string 2002-10-18 21:29:14 +00:00
an Add card_if.h to SRCS. 2001-11-15 18:59:04 +00:00
aout I completely fubared this. An empty EXPORT_SYMS= is not valid. I know I 2002-09-11 18:03:03 +00:00
apm Merge PC98 support. 2003-03-25 05:19:18 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
arcnet - add support for IPX (tested with mount -t nwfs and mars_nwe), 2003-01-24 01:32:20 +00:00
asr Make an attempt to get the asr driver to compile on Alpha by fixing some i386 2001-04-01 08:33:01 +00:00
ath module for Atheros 802.11 driver 2003-06-23 17:02:43 +00:00
ath_hal nitpicking 2003-06-30 05:25:36 +00:00
aue
awi Create a module for awi. 2001-11-19 06:41:04 +00:00
axe Add device driver support for the ASIX Electronics AX88172 USB 2.0 2003-04-20 19:05:33 +00:00
bge Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
bios Add module infrastructure for 'vpd' and 'smbios' and move 'smbios' 2003-03-29 15:20:45 +00:00
bktr Add a overhaul of the soundchip initialization for the MSP34xx chipsets 2003-08-12 09:45:34 +00:00
bridge Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
cam Fix the new DA_OLD_QUIRKS option for normal and module compiles. 2003-07-29 18:08:16 +00:00
canbepm Add CanBe power management controller support. 2003-02-03 14:46:26 +00:00
canbus Add CanBe power management controller support. 2003-02-03 14:46:26 +00:00
cardbus I don't think that these modules should export symbols at all. All 2002-01-11 20:14:03 +00:00
cbb Fix this pending the decision of which of the redundant 2002-08-27 15:59:19 +00:00
cd9660 Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ciss - Comment a line which sets CISS_DEBUG by default. 2002-10-27 12:09:51 +00:00
cm - generic Arcnet framework 2002-01-08 20:03:13 +00:00
coda Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
coff Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
crypto Module-ize the 'core' crypto stuff. This may still need to be compiled 2002-10-16 14:31:34 +00:00
cryptodev module for /dev/crypto support 2002-10-04 20:35:02 +00:00
cue
dc
de
digi Fix my recent breakage of some modules. 2002-02-15 15:45:34 +00:00
dpt Add module infrastructure for 'dpt' driver. 2003-03-29 15:47:13 +00:00
drm Update the DRM to latest from DRI CVS. This is approximately the version 2003-03-09 02:08:30 +00:00
dummynet Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ed Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
el
elink Add module infrastructure for elink. 2003-03-29 13:42:20 +00:00
em Don't roll our own clean target, the default one 2002-10-27 17:06:03 +00:00
en When compiling the module with INVARIANTS we also need INVARIANT_SUPPORT. 2003-08-06 16:01:32 +00:00
ep There's already the elink.ko module available, don't embed it here. 2003-08-02 18:46:02 +00:00
ex Add module infrastructure for 'if_ex'. 2003-03-29 15:41:44 +00:00
exca Module for exca. Eventually, this will be shared between pcic and pccbb. 2002-01-29 06:53:32 +00:00
ext2fs Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
fatm This is a driver for Fore PCA200E cards that uses busdma and works on 2003-06-23 14:46:12 +00:00
fdc Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
fdescfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
fe Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
firewire MFp4(simokawa_firewire): 2003-04-17 03:38:03 +00:00
fxp vlan.h is obsolete, don't create it anymore. 2001-09-05 23:47:02 +00:00
gem Build a gem module, for sparc64 only for now. 2003-01-08 20:40:29 +00:00
geom add the mbr_enc file so that we can load the module on sparc64. 2003-07-05 08:11:43 +00:00
gx Hook the gx module up to the build. 2001-10-19 02:21:16 +00:00
harp This is a pseudo physical interface for the HARP ATM stack. When loaded 2003-07-21 13:56:22 +00:00
hatm This is a driver for Fore/Marconi HE155 and HE622 ATM cards. It is full 2003-06-17 16:12:50 +00:00
hea Build a 'hea_pci' driver module. 2002-06-03 09:13:53 +00:00
hfa Include "../Makefile.inc". 2002-11-06 13:41:40 +00:00
hifn fix module building; drivers now require opt_{ubsec,hifn}.h 2003-03-11 23:20:43 +00:00
hme Add an hme(4) module. 2003-01-09 16:29:03 +00:00
hpfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
i2c Most power management devices don't exist on pc98. 2003-06-15 04:24:28 +00:00
ibcs2 add opt_mac.h to SRCS to unbreak module build. 2002-08-12 07:20:15 +00:00
idt HARP driver for the IDT77201/211 NICStAR ATM Adapter (Including Fore LE155). 2002-09-30 05:12:39 +00:00
ie Add module infrastructure for if_ie. 2003-03-29 13:40:41 +00:00
if_disc Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_ef Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_faith Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_gif Depend on opt_mac.h. 2002-08-12 15:27:17 +00:00
if_gre Finish driving a stake through the heart of netns and the associated 2003-03-05 19:24:24 +00:00
if_ppp Make ppp(4) devices clonable and unloadable. 2002-08-09 15:30:48 +00:00
if_sl Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
if_stf Add opt_mac.h to dependencies for if_stf.c module. 2002-10-20 22:57:22 +00:00
if_tap
if_tun Fix module build by adding options to Makefile. 2003-03-08 21:54:32 +00:00
if_vlan Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
iir Add the 'iir' driver, for the Intel Integrated RAID controllers and 2002-01-20 08:51:08 +00:00
ip6fw Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ip_mroute_mod Hook up opt_mac.h to the build dependencies. The way we currently 2002-10-20 22:59:17 +00:00
ipfilter Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ipfw bring Makefile up to date with new ipfw 2002-06-28 08:10:07 +00:00
ips Add the 'ips' driver for the IBM (now Adaptec) ServeRAID controller 2003-05-11 06:36:49 +00:00
isp Add an isp(4) module. sbus support is only compiled in on sparc64. 2002-10-31 19:50:18 +00:00
ispfw
joy Use new location for joy, plus list its new bus front ends. 2001-12-05 09:09:48 +00:00
kue
lge Add device driver support for the Level 1 LXT1001 NetCellerator 2001-05-31 21:44:26 +00:00
libiconv Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
libmbpool Add a facility for devices, specifically network interfaces, that require 2003-07-15 08:59:38 +00:00
libmchain libmchain no longer exports m_fixhdr(); remove it from EXPORT_SYMS. 2002-12-14 00:01:51 +00:00
linprocfs Move the pseudofs, procfs and linprocfs modules out from the fs directory. 2002-02-04 20:16:50 +00:00
linux Add IPv6 support for Linuxlator. 2003-02-03 17:43:20 +00:00
lnc Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
lpt Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
mac_biba opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_bsdextended Introduce support for Mandatory Access Control and extensible 2002-08-01 17:41:27 +00:00
mac_ifoff opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_lomac Hook up the mac_lomac module build. 2002-11-26 17:35:44 +00:00
mac_mls opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_none opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_partition Commit of Makefile missed in earlier pass. 2002-10-24 02:04:03 +00:00
mac_portacl A cute yet small MAC policy that provides a simple ACL mechanism to 2003-03-02 23:01:42 +00:00
mac_seeotheruids Introduce support for Mandatory Access Control and extensible 2002-08-01 17:41:27 +00:00
mac_stub opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mac_test opt_mac.h is no longer required for any of these modules, remove from 2002-10-22 17:10:15 +00:00
mcd opt_geom.h is no longer required for this module. 2003-03-29 16:13:11 +00:00
md Add opt_geom.h to the list. 2003-01-13 08:31:41 +00:00
mii tdkphy.c is missing from this module's Makefile. Add it. 2003-07-10 05:12:10 +00:00
mlx
mly Merge with latest version of the Mylex 6+ driver. 2001-07-14 00:12:23 +00:00
mpt Add a module for mpt(4). 2002-10-31 19:39:23 +00:00
msdosfs Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
my This time get it right 2002-04-16 20:40:06 +00:00
ncp Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ncv Add module directories and makefiles for ncv, nsp, stg and scsi_low 2001-12-15 12:37:36 +00:00
netgraph Add ng_atmpif: a HARP physical interface emulation. This allows one 2003-08-11 08:40:02 +00:00
nfsclient Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c 2002-09-22 00:59:02 +00:00
nfsserver Permit MAC policies to instrument the access control decisions for 2002-11-04 15:13:36 +00:00
nge vlan.h is obsolete, don't create it anymore. 2001-09-05 23:47:02 +00:00
nmdm Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
nsp Add module directories and makefiles for ncv, nsp, stg and scsi_low 2001-12-15 12:37:36 +00:00
ntfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
null This is not going to win prizes for the most useful module ever, 2003-02-27 18:08:44 +00:00
nullfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
nwfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
oldcard Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
oltr Don't build if_iso88025subr.c into the oltr module. 2003-03-15 23:24:17 +00:00
osf1 Remove support for running in SimOS. The support has rotted over 2003-02-25 00:42:40 +00:00
patm This is a driver for IDT77252 based ATM interfaces. It has been tested 2003-07-15 11:57:24 +00:00
pccard I don't think that these modules should export symbols at all. All 2002-01-11 20:14:03 +00:00
pcfclock
pcic I don't think that these modules should export symbols at all. All 2002-01-11 20:14:03 +00:00
pcn
pecoff opt_kstack_pages.h is not needed anymore. It would have been a Bad Thing 2002-09-08 02:59:38 +00:00
plip Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
pmc Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00
portalfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ppbus Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ppi Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
pps Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
procfs Slightly change the semantics of vnode labels for MAC: rather than 2002-10-26 14:38:24 +00:00
pseudofs Introduce support for Mandatory Access Control and extensible 2002-08-01 01:33:12 +00:00
raidframe After much delay and anticipation, welcome RAIDFrame into the FreeBSD 2002-10-20 08:17:39 +00:00
random Upgrade the random device to use a "real" hash instead of building 2002-07-15 13:58:35 +00:00
ray Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
rc Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
rc4 make rc4 crypto support a module so other modules can depend on it 2003-01-15 19:55:17 +00:00
rl
rndtest FIPS 140-2 rng data tester for h/w crypto devices. This driver periodically 2003-03-11 19:26:16 +00:00
rp Fix my recent breakage of some modules. 2002-02-15 15:45:34 +00:00
rue Add RealTek RTL8150 USB to fast Ethernet controller driver. 2003-05-03 10:16:56 +00:00
s3
safe SafeNet crypto driver 2003-07-21 21:47:47 +00:00
sbni Add driver for Granch SBNI12-xx ISA and PCI network adapters. 2001-11-21 22:29:35 +00:00
sbsh Driver for Granch SBNI16 SHDSL modem 2003-04-13 06:27:13 +00:00
scd - Convert to newbus, bus_space etc. 2002-11-05 09:37:32 +00:00
scsi_low Export symbols that constitute APIs defined by these 2002-01-11 01:16:00 +00:00
sem Add the rest of the kernel support for the sem_ API in kern/uipc_sem.c. 2002-09-19 00:43:32 +00:00
sf
sis
sk
smbfs Unbreak the build of smbfs.ko. 2002-03-18 13:06:57 +00:00
sn
snc
snp Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
sound Add (but do not connect) a half-finished driver for Aureal Vortex cards. 2003-06-01 11:58:46 +00:00
speaker 'speaker' not 'atspeaker' 2003-03-29 10:01:03 +00:00
splash Warning fixes. 2002-11-11 10:28:44 +00:00
sppp sppp needs slcompress.c nowadays. 2002-06-17 05:40:49 +00:00
sr
ste
stg - Add PCI support (Adaptec AHA-2920/A,Future Domain TMC-18XX/3260). 2003-04-07 10:13:25 +00:00
streams Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
svr4 Add opt_mac.h to dependencies for svr4 module, since I'm about to 2002-08-12 01:36:20 +00:00
sym
syscons Don't override CWARNFLAGS in these Makefiles. 2002-11-11 10:11:59 +00:00
sysvipc Include "../Makefile.inc". 2002-11-06 13:41:40 +00:00
ti At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
tl
trm Connect trm(4) to the build. 2002-10-13 18:44:26 +00:00
twe
tx Remove miidevs.h and generate it from miidevs at compile time. 2003-01-19 02:59:34 +00:00
txp vlan.h is obsolete, don't create it anymore. 2001-09-05 23:47:02 +00:00
ubsa Allow ubsa(4) driver to be build as a kernel module. 2002-10-10 05:03:09 +00:00
ubsec fix module building; drivers now require opt_{ubsec,hifn}.h 2003-03-11 23:20:43 +00:00
ucom Add a USB comm driver. 2002-03-18 18:23:42 +00:00
udbp Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
udf Nuke -g 2002-04-28 06:38:38 +00:00
ufm Support for USB fm radio. 2002-03-04 03:51:21 +00:00
ufs Add a few missing opt_ files to make this module compile again. 2003-06-23 19:41:00 +00:00
uftdi Add the uftdi ucom driver which supports the following adapters: 2002-08-11 23:32:33 +00:00
ugen Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
uhid Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ukbd Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ulpt Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
umapfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
umass Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
umct Add 'umct', a driver for MCT Corp. and Belkin F5U109 USB-Serial adapters. 2003-06-28 05:45:55 +00:00
umodem Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
ums Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
unionfs Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
uplcom Add a USB comm driver. 2002-03-18 18:23:42 +00:00
urio Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
usb make usb bus_dma aware. 2003-07-15 22:42:37 +00:00
uscanner Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
utopia This is a driver for the physical layer chips used in ATM interfaces. 2003-06-12 14:28:32 +00:00
uvisor Commit a version of the uvisor driver for connecting Handspring 2002-07-30 17:44:28 +00:00
uvscom Fix device freeze to reduce output packet size. 2003-03-09 11:50:27 +00:00
vesa Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
vinum Remove these files. They have successors in tools/debugscripts. 2003-06-12 23:30:57 +00:00
vpo Drop <bsd.man.mk> support from <bsd.kmod.mk>. 2002-01-11 15:49:02 +00:00
vr
vx
wb
wi remove wi-specific host ap code; the wi driver now depends on the 2003-01-15 20:13:30 +00:00
wlan switch to new 802.11 support 2003-06-28 06:19:01 +00:00
xe Add a module of xe driver. 2002-02-20 15:00:34 +00:00
xl
Makefile Re-enable pcfclock in the build. 2003-08-10 01:35:36 +00:00
Makefile.inc Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc. 2002-11-06 13:47:00 +00:00