From: Takashi Iwai <tiwai@suse.de>
To: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: Alsa-devel <alsa-devel@alsa-project.org>,
Rene Herman <rene.herman@gmail.com>
Subject: Re: [PATCH] sc6000: enable joystick port
Date: Mon, 27 Apr 2009 11:26:03 +0200 [thread overview]
Message-ID: <s5hab62phw4.wl%tiwai@suse.de> (raw)
In-Reply-To: <20090424182339.63ecb559.krzysztof.h1@poczta.fm>
At Fri, 24 Apr 2009 18:23:39 +0200,
Krzysztof Helt wrote:
>
> From: Krzysztof Helt <krzysztof.h1@wp.pl>
>
> Add module parameter to enable or disable
> joystick port (gameport) on the SC6600 and
> later cards.
>
> Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
> ---
> sound/isa/sc6000.c | 9 +++++++--
> 1 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/sound/isa/sc6000.c b/sound/isa/sc6000.c
> index c803b2e..7e2526a 100644
> --- a/sound/isa/sc6000.c
> +++ b/sound/isa/sc6000.c
> @@ -56,6 +56,7 @@ static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
> /* 0x300, 0x310, 0x320, 0x330 */
> static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5, 7, 9, 10, 0 */
> static int dma[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0, 1, 3 */
> +static int joystick[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = 0 };
>
> module_param_array(index, int, NULL, 0444);
> MODULE_PARM_DESC(index, "Index value for sc-6000 based soundcard.");
> @@ -75,6 +76,8 @@ module_param_array(mpu_irq, int, NULL, 0444);
> MODULE_PARM_DESC(mpu_irq, "MPU-401 IRQ # for sc-6000 driver.");
> module_param_array(dma, int, NULL, 0444);
> MODULE_PARM_DESC(dma, "DMA # for sc-6000 driver.");
> +module_param_array(joystick, int, NULL, 0444);
Better to be bool.
> +MODULE_PARM_DESC(dma, "Enable gameport.");
This doesn't match with the real name...
Also, don't forget to update
Documentation/sound/alsa/ALSA-Configuration.txt, too.
Could you fix and repost?
thanks,
Takashi
next prev parent reply other threads:[~2009-04-27 9:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 16:23 [PATCH] sc6000: enable joystick port Krzysztof Helt
2009-04-27 9:26 ` Takashi Iwai [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-05-03 8:39 Krzysztof Helt
2009-05-04 7:09 ` 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=s5hab62phw4.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=krzysztof.h1@poczta.fm \
--cc=rene.herman@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox