Re: two small patch of 2.1.80-pre-3

Roy P. Turner (ecstasy@dopamine.com)
Fri, 16 Jan 1998 17:13:54 -0600


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 @@
>
> 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, sz)) ==
> NULL)
> dmap->buffsize /= 2;
> }
>
>

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.

Roy