Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.1.28 compile problem - DEC UDB + Sound (MSS)
@ 1997-03-05  1:47 David R. McGown
  0 siblings, 0 replies; 2+ messages in thread
From: David R. McGown @ 1997-03-05  1:47 UTC (permalink / raw)


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)
dev_table.h:445: initializer element for
`snd_installed_cards[0].config.dma2' is not constant
make[2]: *** [dev_table.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.28/drivers/sound'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.28/drivers'
make: *** [linuxsubdirs] Error 2  

David
======================================================================
                            David R. McGown                               
dmcgown@access.digex.net        -o-O-o-                LINUX INSIDE!     
 Home: (703)683-1599         206 Adams Ave           ALPHA GENERATION! 
 Work: (703)416-1240      Alexandria, VA 22301                              
  

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.1.28 compile problem - DEC UDB + Sound (MSS)
       [not found] <XFMail.970304210746.dmcgown@access.digex.net>
@ 1997-03-05  6:47 ` Hannu Savolainen
  0 siblings, 0 replies; 2+ messages in thread
From: Hannu Savolainen @ 1997-03-05  6:47 UTC (permalink / raw)


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)

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-03-05  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-05  1:47 2.1.28 compile problem - DEC UDB + Sound (MSS) David R. McGown
     [not found] <XFMail.970304210746.dmcgown@access.digex.net>
1997-03-05  6:47 ` Hannu Savolainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox