> In message <Pine.LNX.3.96K.980117041817.778C-100000@progress.plw.net>, Byeong-r
> yeol Kim writes:
> > I could compile 2.1.80-pre-3 with patches below, though it
> > might be wrong.
> >
> > --- linux/drivers/sound/soundcard.c~ Sat Jan 3 11:12:53 1998
> > +++ linux/drivers/sound/soundcard.c Sat Jan 17 02:32:07 1998
> > @@ -1100,7 +1100,7 @@
...
> Tried this myself. Yes, it gets soundcard.c to compile but when I tried
> to play an mp3, I got an error saying I couldn't open /dev/dsp. Backing
> down to pre2 for now.
...
Sorry, I failed to play a mp3 file, too.
I tried another patch which Mr. Sander van Mallsen suggested.
It proved to work.
--- linux/drivers/sound/soundcard.c~ Sat Jan 3 11:12:53 1998
+++ linux/drivers/sound/soundcard.c Sat Jan 17 11:56:05 1998
@@ -1100,7 +1100,7 @@
dmap->buffsize = PAGE_SIZE * (1 << sz);
- if ((start_addr = (char *) __get_free_pages(GFP_ATOMIC, sz, MAX_DMA_ADDRESS)) == NULL)
+ if ((start_addr = (char *) __get_free_pages(GFP_ATOMIC|GFP_DMA, sz)) == NULL)
dmap->buffsize /= 2;
}
"Where there is a will, there is a way." jinbo21@soback.kornet.nm.kr
kbeyl@kids.kotel.co.kr
For the future of you and me! hitel: jinbo21