From: Rene Herman <rene.herman@gmail.com>
To: Krzysztof Helt <krzysztof.h1@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>, ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] opti931: additional check for OPL3 device
Date: Mon, 17 Sep 2007 15:57:21 +0200 [thread overview]
Message-ID: <46EE87C1.9010908@gmail.com> (raw)
In-Reply-To: <46EE75D3.1010701@gmail.com>
On 09/17/2007 02:40 PM, Rene Herman wrote:
To possibly save you the trouble, yes, tested that the OPL3 address really
follows along with the OPL4Base PnP resource.
Fixed description and CCed Takashi:
> On 09/17/2007 02:26 PM, Krzysztof Helt wrote:
>
>> Look at the code. Shifting the fm_port address by 8 (Rene's) is correct
>> way to do as the OPL3 is searched at fm_port and fm_port +2, but the OPL4
>> is searched at fm_port and fm_port -8 (which will be the fm_port before
>> shifting).
>
> Ah, damn, crap. Yes, forget the version I just sent. Original (attached)
> was correct. Thanks for paying attention.
>
>> Is the OPL4 located at 0x380 and 0x388 or 0x378 and 0x380? If the former,
>> the Rene's patch is correct.
>
> The OPL4 is at 0x380, with its OPL3 compatible part at 0x388. Could you
> add an Acked-by?
===
opti9xx: adjust OPL3 FM resource value
The OPTi ISA-PnP chips advertise their OPL4Base resource value at 0x380
(to 0x3f0) through PnP and put their on-chip OPL3 at ALBase = OPL4Base + 8.
The driver assumes the PnP advertised value is the ALBase though and checks
for an OPL4 at -8, which means that simply adding 8 to the PnP advertised
value works to fix both OPL3 and OPL4 support.
Problem spotted on 931 and 933 by Krzysztof Helt and confirmed on 924 and
925 (together all OPTi ISA-PnP chips) by me. Has been tested.
Signed-off-by; Rene Herman <rene.herman@gmail.com>
===
Rene.
next prev parent reply other threads:[~2007-09-17 13:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 14:35 [PATCH] opti931: additional check for OPL3 device Krzysztof Helt
2007-09-14 14:52 ` Clemens Ladisch
2007-09-14 16:47 ` Krzysztof Helt
2007-09-17 8:14 ` Clemens Ladisch
2007-09-17 10:10 ` Rene Herman
2007-09-17 10:39 ` Clemens Ladisch
2007-09-17 12:26 ` Rene Herman
2007-09-17 12:26 ` Krzysztof Helt
2007-09-17 12:40 ` Rene Herman
2007-09-17 13:57 ` Rene Herman [this message]
2007-09-17 14:45 ` Krzysztof Helt
2007-09-17 15:09 ` Takashi Iwai
2007-09-17 23:04 ` Rene Herman
2007-09-14 16:33 ` Rene Herman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46EE87C1.9010908@gmail.com \
--to=rene.herman@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=krzysztof.h1@gmail.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.