From owner-freebsd-current@FreeBSD.ORG Wed Jul 12 11:27:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 592DD16A4DA; Wed, 12 Jul 2006 11:27:34 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA38743D53; Wed, 12 Jul 2006 11:27:33 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6CBRUZ2045508; Wed, 12 Jul 2006 06:27:32 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B4DCA7.5050803@centtech.com> Date: Wed, 12 Jul 2006 06:27:35 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Alexander Leidinger References: <20060712091320.u0l2n35woo8c8w88@netchild.homeip.net> In-Reply-To: <20060712091320.u0l2n35woo8c8w88@netchild.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1592/Tue Jul 11 15:40:37 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: deischen@freebsd.org, current@freebsd.org Subject: Re: What causes bus_alloc_resource() to fail? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 11:27:34 -0000 On 07/12/06 02:13, Alexander Leidinger wrote: > Quoting Daniel Eischen (from Wed, 12 Jul 2006 > 00:07:11 -0400 (EDT)): > >> I'm trying to add support for an ICH7-based audio device, but >> bus_alloc_resource_any() is failing when it tries to allocate >> the memory IO space. > > My answer is off-topic to your question, but on-topic to what you try to > achieve. > > Are you sure the ICH7-based audio device is using the ac97 interface and > not the HDA interface (hardware development decission, can't be changed > with software)? If you are not sure I suggest to try to get this > information somewhere. If it is using the HDA interface, your approach > will never work. I suggest to have a look into the multimedia@ archive > and search for HDA mails in this case. I'm glad you mentioned this, because I'm fairly certain that this device is in fact an HDA controller only, and not an ac97. I read somewhere that the chips previous to this one had basically support for either, and the trailing identifier (the G, or FG, etc) is what tells you what it is. I know on my new Dell D820, it is HDA, not ac97 for certain. I *think* the netbsd azalia driver supports this chip, but I haven't installed netbsd to try it. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------