From owner-freebsd-sparc64@FreeBSD.ORG Thu Nov 4 05:26:41 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 83AF716A4CE for ; Thu, 4 Nov 2004 05:26:41 +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 E249B43D2D for ; Thu, 4 Nov 2004 05:26:40 +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 iA45QXAh060961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 4 Nov 2004 14:26:33 +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 iA45Q6M2012192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Nov 2004 14:26:06 +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 iA45Q057012191; Thu, 4 Nov 2004 14:26:00 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Date: Thu, 4 Nov 2004 14:26:00 +0900 From: Pyun YongHyeon To: Torfinn Ingolfsen Message-ID: <20041104052600.GF11500@kt-is.co.kr> References: <20041031135102.2f15b595.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041031135102.2f15b595.torfinn.ingolfsen@broadpark.no> 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: Thu, 04 Nov 2004 05:26:41 -0000 On Sun, Oct 31, 2004 at 01:51:02PM +0100, Torfinn Ingolfsen wrote: > Hello, > > I tried this patch: > http://www.kr.freebsd.org/~yongari/cs4231.freebsd.diff > > on my Ultra 1E (which is running 5.3-RC1). I have made world and built > a kernel on this machine yesterday, so I know that it used to work. > But after applying the patch, make builkernel failed: > > In file included from /usr/src/sys/dev/sound/pcm/sound.h:93, > from /usr/src/sys/dev/sound/sbus/cs4231.c:53: > /usr/src/sys/dev/sound/pcm/channel.h:69:24: channel_if.h: No such file > or directory/usr/src/sys/dev/sound/sbus/cs4231.c:60:22: mixer_if.h: No > such file or directory mkdep: compile failed > > Is this patch supposed to work on 5.3? The driver was commited to HEAD. In 5.3R you need to apply the following patch. http://www.kr.freebsd.org/~yongari/cs4231.patch.53R I don't know it can be applied cleanly in 5.3R. But I believe you can fix it easily. Since the driver name was changed, you should use snd_audiocs. If you encounter any issues please let me know. Thanks. -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org