From owner-freebsd-sparc64@FreeBSD.ORG Mon May 10 08:11:08 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 7036716A527 for ; Mon, 10 May 2004 08:11:08 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 420E643D58 for ; Mon, 10 May 2004 08:11:07 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 25568 invoked by uid 65534); 10 May 2004 15:11:06 -0000 Received: from p50906CA3.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.144.108.163) by mail.gmx.net (mp025) with SMTP; 10 May 2004 17:11:06 +0200 X-Authenticated: #5374206 Received: by abel (Postfix, from userid 1001) id 9E9C0520; Mon, 10 May 2004 17:11:04 +0200 (CEST) Date: Mon, 10 May 2004 17:11:04 +0200 From: Thomas Moestl To: Joerg Wunsch Message-ID: <20040510151103.GA744@timesink.dyndns.org> References: <20040509171444.B63877@ida.interface-business.de> <20040509213455.GA744@timesink.dyndns.org> <20040510103204.B77963@ida.interface-business.de> <20040510113918.GA740@timesink.dyndns.org> <20040510134958.H77963@ida.interface-business.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040510134958.H77963@ida.interface-business.de> User-Agent: Mutt/1.5.6i cc: sparc64@freebsd.org Subject: Re: ebus resource allocation error? 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: Mon, 10 May 2004 15:11:08 -0000 On Mon, 2004/05/10 at 13:49:58 +0200, Joerg Wunsch wrote: > OK, so still, how do I know which is the `correct' IRQ for me? Should > I blindly assume that bus_alloc_resource_any(... SYS_RES_IRQ ...) will > do the right thing for me? That it will anyway; there is no need to use bus_get_resource(), bus_alloc_resource_any() with the same rid is sufficient. Which rid to use will probably have to be trial and error, in the absence of detailed documentation (or drivers for other OSes). - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ "I think nighttime is dark so you can imagine your fears with less distraction." -- Calvin and Hobbes