From: Lee Revell <rlrevell@joe-job.com>
To: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: linux-sh <linuxsh-dev@lists.sourceforge.net>,
alsa-devel@alsa-project.org
Subject: Re: Dreamcast AICA driver
Date: Sun, 12 Mar 2006 01:28:21 -0500 [thread overview]
Message-ID: <1142144901.25358.108.camel@mindpipe> (raw)
In-Reply-To: <1142144081.25358.103.camel@mindpipe>
On Sun, 2006-03-12 at 01:14 -0500, Lee Revell wrote:
> You should submit this to ALSA now, as a patch against CVS...
static int snd_aicapcm_free(snd_card_aica_t *dreamcastcard)
{
release_mem_region(0xa0702c00, 0x4);
release_mem_region(0xa0800000, 0x200000);
return 0;
}
Actually this driver still has way too many magic numbers - if you're
not exactly sure what a constant does then document it with comments in
the header file.
It looks like many of these will be trivial to document:
if (request_mem_region(0xa0702c00, 4, "AICA ARM control")== NULL) return -ENOMEM;
if (request_mem_region(0xa0800000, 0x200000, "AICA Sound RAM") == NULL)
Lee
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
next prev parent reply other threads:[~2006-03-12 6:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1142124747.9496.50.camel@localhost.localdomain>
2006-03-12 1:11 ` Dreamcast AICA driver Lee Revell
2006-03-12 1:20 ` Adrian McMenamin
2006-03-12 6:14 ` Lee Revell
2006-03-12 6:28 ` Lee Revell [this message]
2006-03-12 10:59 ` Adrian McMenamin
[not found] ` <1142161181.9555.3.camel@localhost.localdomain>
2006-03-12 12:02 ` James Courtier-Dutton
2006-03-12 12:16 ` Adrian McMenamin
2006-03-12 11:00 ` Adrian McMenamin
2006-03-12 6:32 ` Lee Revell
2006-03-12 6:38 ` Lee Revell
2006-03-12 10:58 ` Adrian McMenamin
2006-03-12 20:35 ` Manuel Jander
2006-03-12 20:23 ` Adrian McMenamin
2006-03-13 11:48 ` Takashi Iwai
2006-03-12 0:52 Adrian McMenamin
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=1142144901.25358.108.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=adrian@mcmen.demon.co.uk \
--cc=alsa-devel@alsa-project.org \
--cc=linuxsh-dev@lists.sourceforge.net \
/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.