The following patch (originally against 2.2.0-preX, now against
2.2.8 with no significant changes) addresses these issues:

  * CONFIG_SOUND_ADLIB
        This sound define does less than but approximately
        the same as CONFIG_SOUND_YM3812.  The help text for
        both OSS and Linux advise to 'just say Y' for the
        YM3812 but give some discussion for ADLIB.

        I moved the help text from ADLIB to YM3812 and removed
        the ADLIB define, and adjusted all the files in the
        Documentation/sound directory appropriately.

  * Object files for GUS, OPL3SA2
        Superfluous object files are built for the OPL3SA2 and
        GUS.  A comment in the Makefile says we should just ignore
        this extra file being compiled, as it has no real effect and
        just prevents recompiles when the sound config is changed.

        This is completely bogus.  Changing the sound config causes
        a recompile anyway, and more importantly, in the non-modular
        case (for example, in my system), it simply wastes
        (non-swappable kernel) memory with things which never get
        used (and don't tell me gcc/ld are smarter than that, gcc/ld
        are stupid in many cases).

  * dev_table.h, sound_calls.h
        some things in dev_table.h clearly belong in sound_calls.h.
        cleaned this up.  cleaned up whitespace in sound_calls.h.
        added a comment about SNDCARD number clash between OSS and
        msnd.h (but didn't change either).

  * OPL3SA2 sound driver when compiled in to kernel
        made the opl3sa2 sound driver work when compiled into the
        kernel, by doing things the same way as it does with modules,
        eg, if the opl3sa2 chip is detected, set always_detect on the
        MPU; added WSS card subtype 1 if this is configured, and so on.

        note that the opl3sa2 pretty much always seems to think something
        is there, even at the wrong IO address, so a misconfigured kernel
        with this compiled in non-modularly will probably have non-working
        sound.  but that's already the case.

(and any others I missed in reading the patch over and forgot over
the 5 months since I first sent it to the listed maintainers with
no comment received)

All of this seems pretty obvious stuff to me.  What do I have to do
to make sure the fixes/cleanups make their way into the kernel?

David.

PS: The Win98 sound driver for this chipset doesn't work reliably[1]
    on my notebook and I'm unofficially informed by someone at Toshiba
    on a number of other models, but the Linux one works just great once
    patched appropriately or if compiled as modules :-)

[1] ie: there is a repeatable way to crash a Win98 system with this
    sound chip using only Microsoft and Toshiba supplied code.

begin 644 patch-2.2.8-DJL.gz
M'XL("+I#.3<"`W!A=&-H+3(N,BXX+41*3`#E._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