Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2015 09:07:26 +0530
From:      Pratik Singhal <ps06756@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   FreeBSD Ac97 interface
Message-ID:  <CAGf2gkPPGKuysOjGRHPWaUZ3YYr%2BLHskxVHDzjSojzeeFnk5Cw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello  all,

I am writing the driver for AC'97 controller present in Allwinner A10 SoC
as a part of my Google summer of code Project.  I have understood the
theoretical aspects of AC'97 and know "what" to code, but I am unable to
understand , how to interface the code with FreeBSD kernel.

For ex, when making changes in the mmc driver, it was very clear that the
high-level file sys/dev/mmc/mmc.c will call the methods defined in our
implementation of mmc driver,

In the case of AC'97, what all files should I look at ? I have so far
looked at sys/dev/sound/pcm/ directory, but can't seem to understand much
there.
Also,how does FreeBSD control the AC-link , which will be used to control
various parameters related to AC'97 codec I/O ?

I am new to working with sound at this low level, so there might be some
trivial things which I may have missed.
Any help would be very valuable for timely completion of project.


Thanks,
Pratik Singhal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGf2gkPPGKuysOjGRHPWaUZ3YYr%2BLHskxVHDzjSojzeeFnk5Cw>