From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 23 09:22:35 2005 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 2591D16A4CE for ; Wed, 23 Mar 2005 09:22:35 +0000 (GMT) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A3EA43D5A for ; Wed, 23 Mar 2005 09:22:34 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from pyunyh@gmail.com(192.168.5.90) by MailFilter v1.0 with ESMTP; 23 Mar 2005 17:19:12 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j2N8KjKR005638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Mar 2005 17:20:45 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j2N8KiTY005637; Wed, 23 Mar 2005 17:20:44 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 23 Mar 2005 17:20:43 +0900 From: Pyun YongHyeon To: matt Message-ID: <20050323082043.GB4401@rndsoft.co.kr> References: <9D7F0DF3FB16D41184010050DA90E00001C874F0@neo.confluentasp.local> <1111503248.12724.5.camel@localhost> <20050322173826.T83191@grogged.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050322173826.T83191@grogged.dyndns.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-sparc64@freebsd.org Subject: Re: Quick snd_driver question X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 09:22:35 -0000 On Tue, Mar 22, 2005 at 05:50:30PM -0600, matt wrote: > > I haven't been following freebsd-sparc64 too closely lately, so forgive me > if this has been asked before (Doesn't seem to stand out as an issue in > the list archives...) > > I just updated my AXi machine to 6-current. Just for fun I stuck an old > ensoniq 5880 based pci card in the thing, but I can't seem to get > the card recognized. Checking /boot/kernel, I only have sound.ko and > snd_audiocs.ko modules insofar as anything related to sound support > available. The 5.3R release notes for sparc64 indicate that the sound > drivers have been "reorganized" - but I don't even see them being built > when I compile a kernel, either on 5.3R or 6-current. (Adding kernel > options "device sound" or "device "snd_XXXX"" doesn't seen to make a > difference one way or another) - So of course, the soundcard is not > recognized at boot, and I don't have the proper module to load as an > lkm. So my questions: > At present, on-board CS4231A audio controllers on SBus/EBus are supported. Other PCI audio controllers may work unless it has DMA address space limits. Due to the high location of DVMA address, sparc64 requires 32bit DMA capable H/W. And most cheap PCI audio cards does not support full 32bit DMA address space. :-( Quick looking the es137x source, it indicates it has no DMA address limitation. So I guess it will work if you build snd_es137x.ko module. #cd /usr/src/sys/modules/sound/driver/es137x #make #kldload ./snd_es137x.ko > Is there working support for pci audio cards under sparc64? Anyone have > it working? > Creative Audigy may work with small patches(endian conversion). But I don't have the card and have no way to test it. Live! and Trident 4D Wave PCI does not work due to the limit of DMA address space. -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org