[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem
From: |
Sasha Khapyorsky |
Subject: |
[Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem |
Date: |
Tue, 13 Sep 2005 20:35:29 +0300 |
User-agent: |
Mutt/1.5.10i |
On 10:55 Tue 13 Sep , Philipp Matthias Hahn wrote:
>
> See attached tar-file for a full copy of everything under
> /proc/asound/au8810 after applying the attached patch against ASLA from
> linux-2.6.13.1.
ac97#0-N entries are identical there for both codecs, this is because
ac97_codec_read/write always accesses primary codec. Try next patch
please.
Sasha.
--- au88x0_core.c_orig 2005-09-13 20:00:50.000000000 +0300
+++ au88x0_core.c 2005-09-13 20:05:36.000000000 +0300
@@ -2535,7 +2535,8 @@ vortex_codec_write(ac97_t * codec, unsig
}
/* write register */
hwwrite(card->mmio, VORTEX_CODEC_IO,
- ((addr << VORTEX_CODEC_ADDSHIFT) & VORTEX_CODEC_ADDMASK) |
+ (((addr << VORTEX_CODEC_ADDSHIFT) & VORTEX_CODEC_ADDMASK) |
+ ((0x80*codec->num) << VORTEX_CODEC_ADDSHIFT)) |
((data << VORTEX_CODEC_DATSHIFT) & VORTEX_CODEC_DATMASK) |
VORTEX_CODEC_WRITE);
@@ -2560,6 +2561,7 @@ static unsigned short vortex_codec_read(
}
/* set up read address */
read_addr = ((addr << VORTEX_CODEC_ADDSHIFT) & VORTEX_CODEC_ADDMASK);
+ read_addr |= (0x80*codec->num) << VORTEX_CODEC_ADDSHIFT ;
hwwrite(card->mmio, VORTEX_CODEC_IO, read_addr);
/* wait for address */
Message not available
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem,
Sasha Khapyorsky <=
- [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem, Philipp Matthias Hahn, 2005/09/13
- [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem, Sasha Khapyorsky, 2005/09/13
- [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem, Philipp Matthias Hahn, 2005/09/14
- Re: [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem, Maarten Vanraes, 2005/09/14
- Re: [Openvortex-dev] Re: Re: au88x0 modem, Raymond, 2005/09/14
- Re: [Openvortex-dev] Re: Re: au88x0 modem, Maarten Vanraes, 2005/09/14
Re: [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem, Sasha Khapyorsky, 2005/09/14
Re: [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem, Philipp Matthias Hahn, 2005/09/15
[Openvortex-dev] Re: au88x0 modem, Raymond, 2005/09/14
[Openvortex-dev] Re: au88x0 modem, Sasha Khapyorsky, 2005/09/14