From: Takashi Iwai <tiwai@suse.de>
To: manuel.jander@mat.utfsm.cl
Cc: Openvortex <openvortex-dev@nongnu.org>,
Alsa Devel list <alsa-devel@lists.sourceforge.net>
Subject: Re: Aureal ALSA-kernel migration.
Date: Tue, 03 Feb 2004 16:10:00 +0100 [thread overview]
Message-ID: <s5hd68wurlj.wl@alsa2.suse.de> (raw)
In-Reply-To: <1075785474.21176.6.camel@localhost>
Hi Manuel,
At Tue, 03 Feb 2004 01:17:54 -0400,
Manuel Jander wrote:
>
> Hi this is a broadcast to all stations...
>
> I think i finally got it. The definitive patch to migrate the Aureal
> driver into the alsa-kernel path, and hopefully into kernel 2.6.
>
> Download it at:
> http://galadriel.mat.utfsm.cl/~mjander/aureal/alsa/aureal-alsakernel.patch.gz
>
> If you find any problem, report as soon as possible.
thanks for the patch. after a quick look, i found two problems, one
is easy:
- #define __NO_VERSION__ should be removed from the codes in
alsa-kernel, but done in alsa-driver tree. it's for 2.2 kernels
only.
but a serious one is
- au88x0_*.c have global functions vortex_*().
when you build multiple au88x0 drivers into kernel statically, they
will conflict with each other, because each au88[123]0_* includes the
same au88x0_* file.
i haven't notice this because alsa-drivers are supposed to be
modules...
to solve this situation, we'll need either:
- rename each function to a unique name for the card (maybe with the
help of macro?)
- make them all static and implement as callbacks
- make the h/w specific functions as callback functions (i.e. hwread,
hwrite, etc), and each function calls these callbacks.
the last case would be the most elegant, but the module structure will
be changed in this way, namely, each snd-au88[123]0 and a core
(common) module snd-au88x0-lib.
Takashi
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
next prev parent reply other threads:[~2004-02-03 15:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-03 5:17 Aureal ALSA-kernel migration Manuel Jander
2004-02-03 15:10 ` Takashi Iwai [this message]
[not found] ` <1075822820.682.11.camel@localhost>
2004-02-03 16:47 ` Takashi Iwai
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=s5hd68wurlj.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=manuel.jander@mat.utfsm.cl \
--cc=openvortex-dev@nongnu.org \
/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.