This adds support for the mixer and wavetable synthesizer of OPL4 chips.

The OPL4 can be used with OPTi 82C928/Mozart, 82C929 and 82C924 cards
(82C925 and 82C93x have an integrated OPL3 and don't support an external
OPLx chip).

Added/changed files:
+++ new/alsa-driver/include/amagic.h    Sun Mar 23 22:40:20 2003
+++ new/alsa-driver/include/opl4.h      Sun Mar 23 22:59:40 2003
+++ new/alsa-driver/isa/Makefile        Sun Mar 23 23:01:54 2003
+++ new/alsa-driver/isa/opl4/Makefile   Sun Mar 23 23:06:42 2003
+++ new/alsa-driver/isa/opl4/opl4_lib.c Sun Mar 23 22:58:46 2003
+++ new/alsa-driver/isa/opl4/opl4_local.h       Sun Mar 23 22:58:51 2003
+++ new/alsa-driver/isa/opl4/opl4_mixer.c       Sun Mar 23 22:58:55 2003
+++ new/alsa-driver/isa/opl4/opl4_proc.c        Sun Mar 23 22:59:01 2003
+++ new/alsa-driver/isa/opl4/opl4_seq.c Sun Mar 23 22:59:04 2003
+++ new/alsa-driver/isa/opl4/opl4_synth.c       Sun Mar 23 22:59:06 2003
+++ new/alsa-driver/isa/opl4/yrw801.c   Sun Mar 23 22:59:10 2003
+++ new/alsa-driver/isa/opti9xx/opti92x-ad1848.c        Sun Mar 23 22:44:41 2003
+++ new/alsa-driver/utils/Modules.dep   Sun Mar 23 22:46:55 2003
+++ new/alsa-kernel/drivers/opl3/opl3_lib.c     Sun Mar 23 22:48:31 2003
+++ new/alsa-kernel/drivers/opl3/opl3_seq.c     Sun Mar 23 22:49:42 2003
+++ new/alsa-kernel/drivers/opl3/opl3_synth.c   Sun Mar 23 22:51:53 2003
+++ new/alsa-kernel/include/opl3.h      Sun Mar 23 22:56:18 2003
+++ new/alsa-kernel/isa/opti9xx/opti92x-ad1848.c        Sun Mar 23 22:36:07 2003

The changes in alsa-kernel/.../opti92x-ad1848.c are protected by the
USE_OPL4 symbol which is defined in alsa-driver/.../opti92x-ad1848.c.

The changes in alsa-kernel/drivers/opl3/*.c involve modifications of the
OPL3's mode register which would clear the NEW2 bit (which enables OPL4
registers). Those register writes had been used to restrict the OPL3 to
OPL2 compatibility, which IMHO isn't necessary, so I removed them. :)


Clemens

Attachment: opl4-patch.bz2
Description: Binary data

Reply via email to