From owner-freebsd-sparc64@FreeBSD.ORG Fri Nov 5 08:49:12 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 008EC16A4CE for ; Fri, 5 Nov 2004 08:49:12 +0000 (GMT) Received: from ns.kt-is.co.kr (ns.kt-is.co.kr [211.218.149.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6588443D2F for ; Fri, 5 Nov 2004 08:49:11 +0000 (GMT) (envelope-from yongari@kt-is.co.kr) Received: from michelle.kt-is.co.kr (ns2.kt-is.co.kr [220.76.118.193]) (authenticated bits=128) by ns.kt-is.co.kr (8.12.10/8.12.10) with ESMTP id iA58mlAh032058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 5 Nov 2004 17:48:48 +0900 (KST) Received: from michelle.kt-is.co.kr (localhost.kt-is.co.kr [127.0.0.1]) by michelle.kt-is.co.kr (8.12.10/8.12.10) with ESMTP id iA58mTM2016537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Nov 2004 17:48:29 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Received: (from yongari@localhost) by michelle.kt-is.co.kr (8.12.10/8.12.10/Submit) id iA58mTTl016536; Fri, 5 Nov 2004 17:48:29 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Date: Fri, 5 Nov 2004 17:48:29 +0900 From: Pyun YongHyeon To: Torfinn Ingolfsen Message-ID: <20041105084829.GD16038@kt-is.co.kr> References: <20041031135102.2f15b595.torfinn.ingolfsen@broadpark.no> <20041104052600.GF11500@kt-is.co.kr> <20041104113255.139691c9.torfinn.ingolfsen@broadpark.no> <20041104105211.GD12606@kt-is.co.kr> <20041105015406.3247a32c.torfinn.ingolfsen@broadpark.no> <20041105064230.GA16038@kt-is.co.kr> <20041105065728.GB16038@kt-is.co.kr> <20041105092621.3cbf0107.torfinn.ingolfsen@broadpark.no> <20041105084158.GC16038@kt-is.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041105084158.GC16038@kt-is.co.kr> User-Agent: Mutt/1.4.1i X-Filter-Version: 1.11a (ns.kt-is.co.kr) cc: freebsd-sparc64@freebsd.org Subject: Re: Audio on Ultra 1? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: yongari@kt-is.co.kr List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 08:49:12 -0000 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 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@freebsd.org