lkml.org 
[lkml]   [2002]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Radix tree related oops in 2.5.51-mm1
Hi Roger and all.
RAO> Oh, and just in case someone tries to compile with my config; to get the
RAO> ALSA AWE32 code to compile (in sb16.c) , I had to change the init variable c
RAO> sp as it was a duplicate of the global csp variable..
RAO> I should probably see(test) if the plain 2.5.51 has this problem also..
RAO> # CONFIG_SND_SB16 is not set
RAO> CONFIG_SND_SBAWE=y
RAO> CONFIG_SND_SB16_CSP=y
I have same problem with it. Somebody miss this fact when striped out
snd prefix in this driver. I've send patch to kernel list, but it was
skiped.
But with solving this problem you don't have CSP enabled because it's
disabled by default and you must use bootparams to enable it:
#ifdef CONFIG_SND_SB16_CSP
static int csp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 0};
#endif
Here is my TRIVIAL patch.
--- sound/isa/sb/sb16.c.orig Tue Dec 10 19:46:41 2002
+++ sound/isa/sb/sb16.c Tue Dec 10 19:48:27 2002
@@ -664,7 +664,7 @@
{
static unsigned __initdata nr_dev = 0;
int __attribute__ ((__unused__)) pnp = INT_MAX;
- int __attribute__ ((__unused__)) csp = INT_MAX;
+ int __attribute__ ((__unused__)) xcsp = INT_MAX;

if (nr_dev >= SNDRV_CARDS)
return 0;
@@ -681,7 +681,7 @@
get_option(&str,&mic_agc[nr_dev]) == 2
#ifdef CONFIG_SND_SB16_CSP
&&
- get_option(&str,&csp[nr_dev]) == 2
+ get_option(&str,&xcsp) == 2
#endif
#ifdef SNDRV_SBAWE_EMU8000
&&
@@ -694,8 +694,8 @@
isapnp[nr_dev] = pnp;
#endif
#ifdef CONFIG_SND_SB16_CSP
- if (csp != INT_MAX)
- csp[nr_dev] = csp;
+ if (xcsp != INT_MAX)
+ csp[nr_dev] = xcsp;
#endif
nr_dev++;
return 1;
Best Regards.
Ruslan. See you later...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [from the cache]
©2003-2011 Jasper Spaans