linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Can anyone help me about ac97 driver
@ 2007-07-03  2:22 silicom
  2007-07-03  3:36 ` Grant Likely
  2007-07-03  6:21 ` Joachim Förster
  0 siblings, 2 replies; 3+ messages in thread
From: silicom @ 2007-07-03  2:22 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

 Hi    I'm writing an ac97 driver with interrupt mode on xilinx ml403 and linux 2.6.17.1 platform but encounter a incredible problem,can anyone send me a copy of the driver code.  thanks sincerely.  

[-- Attachment #2: Type: text/html, Size: 638 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can anyone help me about ac97 driver
  2007-07-03  2:22 Can anyone help me about ac97 driver silicom
@ 2007-07-03  3:36 ` Grant Likely
  2007-07-03  6:21 ` Joachim Förster
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2007-07-03  3:36 UTC (permalink / raw)
  To: silicom; +Cc: linuxppc-embedded

On 7/2/07, silicom <silicom@163.com> wrote:
>
> Hi
>     I'm writing an ac97 driver with interrupt mode on xilinx ml403 and linux
> 2.6.17.1 platform but encounter a incredible problem,can anyone send me a
> copy of the driver code.

I think there is a driver in MontaVista's 2.4 tree, but I haven't used
it and don't know how well it works.

http://penguinppc.org/kernel/#historical

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can anyone help me about ac97 driver
  2007-07-03  2:22 Can anyone help me about ac97 driver silicom
  2007-07-03  3:36 ` Grant Likely
@ 2007-07-03  6:21 ` Joachim Förster
  1 sibling, 0 replies; 3+ messages in thread
From: Joachim Förster @ 2007-07-03  6:21 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

Hi silicom,

On Tue, 2007-07-03 at 10:22 +0800, silicom wrote:
>     I'm writing an ac97 driver with interrupt mode on xilinx ml403 and
> linux 2.6.17.1 platform but encounter a incredible problem,can anyone
> send me a copy of the driver code.

I read your previous mails (about a problem with the interrupt handler).
Mainly in the last few days/week I wrote an (ALSA) driver for the
"Xilinx ML403 AC97 Controller Ref", too (ATM playback part only, no
record).
And I didn't encounter problems such as your problem. The only
difference I see, is, that I don't have an explicit "write process": INT
is thrown => INT handler: loop, copy data to the FIFO until full =>
return from INT handler.

I had serious problems with the "Register Access Finished" bit, which
stops working after (average) ~80 codec register accesses (bit remains
0).

My driver is "working" since yesterday evening ;-) ... so I feel a bit
uncertain about "releasing" it to the public right now. I'm willing to
post/contribute my driver, but that will have to wait some more days/a
week ;-) ...

BTW: Is your driver an ALSA driver, too? Or is it an OSS driver?

 Joachim



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-03  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-03  2:22 Can anyone help me about ac97 driver silicom
2007-07-03  3:36 ` Grant Likely
2007-07-03  6:21 ` Joachim Förster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).