Skip to contentSkip to conversation

Can anyone help me about ac97 driver

DISCUSSION silicom 3 participants 3 messages Jul 3, 2007

lore
Share & tools
lore

silicom

author
#0 lore raw

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.

#1 lore raw
Quoted 5 lines · silicom

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.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#2 lore raw
In reply to silicom

Hi silicom,

Quoted 3 lines · silicom

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