From: Hannu Savolainen (hsavolai@cs.Helsinki.FI)
Date: 02/05/93


From: hsavolai@cs.Helsinki.FI (Hannu Savolainen)
Subject: Re: soundcard_mem_init() anyone?
Date: 5 Feb 1993 12:57:48 GMT

In <C1xL2y.Jxx@news.cecer.army.mil> burnett@zorro.cecer.army.mil (Andy Burnett) writes:

> I was going thru and installing the soundcard support for the kernel and
>ran into a small problem. The function soundcard_mem_init() is nowhere to
>be found. The file mm/memory.c is looking for it ... a dummy function for
>soundcard_mem_init() exists in the kernel/ch_drv/sound/sound_stubs.c file,
>but it's just a dummy. What does this function do and where should it be?
>Does any one have the code for this, or is it not needed? Any help would
>be greatly appreciated.

The sound_mem_init is at the end of linux/kernel/chr_drv/sound/dmabuf.c.
If not, you propably don't have the latest version of the driver. Linux
0.99.4 needs sound driver version 0.5.

There is two possible ways to resolve this situation:

A) Get the latest version (0.5) from nic.funet.fi
        (pub/os/linux/xtra/snd-kit/snd-driv-0.5.tar.Z) and
        recompile the kernel. Remember to "make clean" first.

B) It would be possible to compile the kernel with version 0.4, but
        it's not recommended. You should simply remove the
        sound_mem_init() -call from mm/memory.c and recompile the
        kernel.

Hannu

============================================================================
Hannu Savolainen (hsavolai@cs.helsinki.fi)
Kun Savolainen puhuu, niin vastuu siirtyy valittomasti kuulijalle.
(or link("/dev/null", "/dev/flames") in plain C)