lkml.org 
[lkml]   [1998]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch for miro aci mixer interface
Joerg Diederich writes:

> to get the miro aci interface (drivers/sound/lowlevel/aci.c) into the
> sound.o module, I had to apply the following patch. It is a quite simple
> one (only configuration stuff), but please check it before applying it to
> the linux kernel (it is the first time for me to send a patch for the
> kernel :-).

> diff -u --recursive --new-file linux/drivers/sound/lowlevel.old/aci.c linux/drivers/sound/lowlevel/aci.c
> --- linux/drivers/sound/lowlevel.old/aci.c Sat Feb 21 03:28:22 1998
> +++ linux/drivers/sound/lowlevel/aci.c Wed May 13 20:54:04 1998
> @@ -58,11 +58,10 @@
> *
> */
>
> -#include <linux/config.h> /* for CONFIG_ACI_MIXER */

Since you use CONFIG_ACI_MIXER and CONFIG_ACI_MIXER_MODULE in the file, it
would be best to leave this line.

> -#ifdef CONFIG_ACI_MIXER
> +#if defined(CONFIG_ACI_MIXER) || defined(CONFIG_ACI_MIXER_MODULE)

Your patch looks like it is meant for the 2.1 kernel, but you didn't
mention which version. CONFIG_ACI_MIXER_MODULE doesn't appear in vanilla
2.1.102 (the drivers/sound/lowlevel/Config.in file is missing though).
You'd typically have code in the Config.in file which either asks the user
how it should be configured, or sets it according to how other things have
been configured.
___
Trevor Johnson


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.030 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site