mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nikolay Nikolov <dobrev666@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: als4000 joystic problem with 2.6.3
Date: Wed, 18 Feb 2004 05:25:02 -0800 (PST)	[thread overview]
Message-ID: <20040218132502.49545.qmail@web40104.mail.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

I have als4000 sound card and when i run kernel 2.6.3
and try to load snd-als4000 module it says:
snd_als4000: falsely claims to have parameter
joystick_port
A have not configured CONFIG_GAMEPORT
I think this happens because there are not
#ifdef SUPPORT_JOYSTICK
...
#endif
in als4000.c when module params are declared.
I attached a patch

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

[-- Attachment #2: linux.patch --]
[-- Type: application/octet-stream, Size: 597 bytes --]

--- mylinux-2.6.3/sound/pci/als4000.c	2004-02-18 15:13:40.000000000 +0200
+++ linux/sound/pci/als4000.c	2004-02-18 14:29:23.000000000 +0200
@@ -99,9 +99,11 @@
 MODULE_PARM(enable, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
 MODULE_PARM_DESC(enable, "Enable ALS4000 soundcard.");
 MODULE_PARM_SYNTAX(enable, SNDRV_INDEX_DESC);
+#ifdef SUPPORT_JOYSTICK
 MODULE_PARM(joystick_port, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
 MODULE_PARM_DESC(joystick_port, "Joystick port address for ALS4000 soundcard. (0 = disabled)");
 MODULE_PARM_SYNTAX(joystick_port, SNDRV_ENABLED);
+#endif
 
 #define chip_t sb_t
 

                 reply	other threads:[~2004-02-18 13:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20040218132502.49545.qmail@web40104.mail.yahoo.com \
    --to=dobrev666@yahoo.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®