From owner-freebsd-sparc64@FreeBSD.ORG Thu Nov 4 10:33:00 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 47A6E16A4CE for ; Thu, 4 Nov 2004 10:33:00 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE3AD43D3F for ; Thu, 4 Nov 2004 10:32:59 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from kg-work.kg4.no (151.80-202-173.nextgentel.com [80.202.173.151]) by mail.broadpark.no (Postfix) with SMTP id 821BC3CC5 for ; Thu, 4 Nov 2004 11:33:48 +0100 (MET) Date: Thu, 4 Nov 2004 11:32:55 +0100 From: Torfinn Ingolfsen To: freebsd-sparc64@freebsd.org Message-Id: <20041104113255.139691c9.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20041104052600.GF11500@kt-is.co.kr> References: <20041031135102.2f15b595.torfinn.ingolfsen@broadpark.no> <20041104052600.GF11500@kt-is.co.kr> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq;m"_0v;~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Audio on Ultra 1? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 10:33:00 -0000 On Thu, 4 Nov 2004 14:26:00 +0900 Pyun YongHyeon wrote: > 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 Ok, I did that. > 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 It applied ok, except for two things; a reject in the sys/conf/NOTES patch: *************** *** 1877,1882 **** device snd_ad1816 device snd_als4000 #device snd_au88x0 device snd_cmi device snd_cs4281 device snd_csa --- 1878,1884 ---- device snd_ad1816 device snd_als4000 #device snd_au88x0 + #device snd_audiocs device snd_cmi device snd_cs4281 device snd_csa I just applied the changes by hand (it's in the NOTES file, so it doesn't matter anyway. And the other thing was that patch complained about the patch for sys/sparc64/isa/isa_dma.c being malformed, and left me with a zero length file. I just manually created isa_dma.c from the patch file and put it in place. > should use snd_audiocs. If you encounter any issues please > let me know. I changed my kernel config file to use snd_audiocs. However, make buildkernel stops. Apparently, the patch wants a couple of files that doesn't exist on my system: 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 *** Error code 1 The machine is currently running 5.3-stable: user@ultra1$ uname -a FreeBSD ultra1.kg4.no 5.3-STABLE FreeBSD 5.3-STABLE #1: Thu Nov 4 03:21:39 CET 2004 root@ultra1.kg4.no:/usr/obj/usr/src/sys/ULTRA1E sparc64 Could that be the problem? -- Regards, Torfinn Ingolfsen, Norway