Re: 2.1.28 compile problem - DEC UDB + Sound (MSS)

Hannu Savolainen (hannu@voxware.pp.fi)
Wed, 5 Mar 1997 08:47:04 +0200 (EET)


On Tue, 4 Mar 1997, David R. McGown wrote:

> Just tried to compile 2.1.28 on a DEC Alpha UDB and ran into a sound driver
> problem associated with a second DMA for the MSS. This seems to be added
> in 2.1.28, 2.1.27 compiled fine. My sound config (edited for brevity):
>
> #define CONFIG_MSS
> #define CONFIG_YM3812
> #define CONFIG_AD1848
> #define CONFIG_SEQUENCER
> #define CONFIG_AUDIO
> #define MSS_BASE 0x530
> #define MSS_IRQ 9
> #define MSS_DMA 3
> #define SELECTED_SOUND_OPTIONS 0x00800200
>
> The error message from "make boot":
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.28/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o dev_table.o
> dev_table.c
> In file included from sound_config.h:154,
> from dev_table.c:17:
> dev_table.h:445: `MSS_DMA2' undeclared here (not in a function)
There is no other way to fix this than running make config again and by
entering the new DMA channel manually. Use the same value as for the first one
if the second DMA is not required.

Best regards,

Hannu
------
Hannu Savolainen (hannu@voxware.pp.fi, hannu@4front-tech.com)
http://www.4Front-Tech.com/oss.html (Open Sound System (OSS))
http://personal.eunet.fi/pp/voxware (OSS Free/TASD/VoxWare)