From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199712080233.VAA24092@alpha1.estabrook.org> Date: Sun, 07 Dec 1997 21:33:51 +0500 From: Jay.Estabrook@digital.com Subject: Re: New alpha-patches and MILO sources In-Reply-To: <3.0.3.32.19971208121943.00a369f0@lucifer.its.latrobe.edu.au> >>> Huw Davies said: > > I get one compilation error compiling the sound driver, where in > linux/drivers/sound/dev_table.h MSS_DMA2 is not defined. After a bit of > fiddling I replaced dev_table.h with the prepatched version, where all > occurrences of MSS_DMA2 are replaced with -1. The kernels still compiling > (did I mention that the XL300 is at home - it's just a little faster!) but > it's got past the sound driver section although sound testing (via doom) > will occur later today. Sigh; yes, this one slipped through, but I think the following patch will fix it (done in drivers/sound/): --- Config.in~ Mon Dec 1 15:52:35 1997 +++ Config.in Sun Dec 7 21:26:32 1997 @@ -137,6 +137,10 @@ int 'MSS/WSS DMA 0, 1 or 3' MSS_DMA 3 fi +if [ "$CONFIG_MSS" = "y" ]; then +int 'MSS/WSS second DMA (if possible) 0, 1 or 3' MSS_DMA2 -1 +fi + if [ "$CONFIG_SSCAPE" = "y" ]; then hex 'SoundScape MIDI I/O base 320, 330, 340 or 350' SSCAPE_BASE 330 fi Or the following will pretty much do the same as you did: --- dev_table.h~ Mon Dec 1 22:39:40 1997 +++ dev_table.h Sun Dec 7 21:23:57 1997 @@ -415,6 +415,10 @@ #ifdef CONFIG_MSS +# ifndef MSS_DMA2 +# define MSS_DMA2 -1 +# endif + # ifdef DESKPROXL {SNDCARD_DESKPROXL, {MSS_BASE, MSS_IRQ, MSS_DMA, MSS_DMA2}, SND_DEFAULT_ENABLE}, # else BOTH will appear in the next set of patches... ;-} Thanks for the feedback (you were the second to mention this). --Jay++ ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Migration Tools - LINUX Project Digital Equipment Corp. (978) 506-4202 or (DTN) 226-4202 151 Taylor Street - TAY1-2 enet: Jay.Estabrook@digital.com Littleton, MA 01460-1407 ------------------------------------------------------------------------------- -- 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