Audio on Ultra 1?

Pyun YongHyeon yongari at kt-is.co.kr
Fri Nov 5 00:49:12 PST 2004


On Fri, Nov 05, 2004 at 05:41:58PM +0900, To Torfinn Ingolfsen wrote:
 > On Fri, Nov 05, 2004 at 09:26:21AM +0100, Torfinn Ingolfsen wrote:
 >  > On Fri, 5 Nov 2004 15:57:28 +0900
 >  > Pyun YongHyeon <yongari at kt-is.co.kr> wrote:
 >  > 
 >  > >  > 
 >  > >  > Ah, another possibility.
 >  > >  >  Did you have the following two options in your kernel?
 >  > >  > 	options	sound
 >  > >         ^^^^^^^
 >  > >  > 	options snd_audiocs
 >  > >         ^^^^^^^
 >  > > Oops, should be device.
 >  > 
 >  > After I sent my last message yesterday, I was thinking about that. I had
 >  > 'device sbd_audiocs' in my kernel config file, but not 'device sound'.
 >  > (The reason for that is simple; I copied my kernel config file from
 >  > GENERIC, then browsed through NOTES to add any options I needed. 'device
 >  > sound' isn't in either GENERIC or NOTES),
 >  > 
 >  > Well, anyway, I added 'device sound' and now we get a bit further, but
 >  > the compile still fails:
 >  > /usr/src/sys/sparc64/isa/isa_dma.c:45: warning: no previous prototype
 >  > for 'isa_dma_init'*** Error code 1
 >  > 
 >  > Stop in /usr/obj/usr/src/sys/ULTRA1E.
 >  > *** Error code 1
 >  > 
 >  > I don't know why it barfs on that, isa_dma.c looks exactly like in the
 >  > patch file.
 > 
 > It seems that your isa_dma.c was corrupted.
 > Open isa_dma.c and change the function.
 > 
 > From:
 > int
 > isa_dma_init(int chan, u_int bouncebufsize, int flag)
 > {
 > 
 >         return (0);
 > }
 > 
 > To:
 > int
   ^^^^ Please change to void
Ahh... I had to stop posting mail today.

 > isa_dmainit(int chan, u_int bouncebufsize)
 > {
 > 
 > }
 > 
 > However, I wonder how this can happen since the latest
 > patch file(cs4231.patch.53R) has all modifications.
 > 
-- 
Regards,
Pyun YongHyeon
http://www.kr.freebsd.org/~yongari	|	yongari at freebsd.org


More information about the freebsd-sparc64 mailing list