From owner-freebsd-sparc64@FreeBSD.ORG Mon May 10 04:50: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 D902416A4CE for ; Mon, 10 May 2004 04:50:00 -0700 (PDT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63B8A43D6D for ; Mon, 10 May 2004 04:50:00 -0700 (PDT) (envelope-from j@ida.interface-business.de) Received: by ida.interface-business.de (Postfix, from userid 107) id D2BE77A69; Mon, 10 May 2004 13:49:58 +0200 (MET DST) Date: Mon, 10 May 2004 13:49:58 +0200 From: Joerg Wunsch To: sparc64@freebsd.org Message-ID: <20040510134958.H77963@ida.interface-business.de> References: <20040509171444.B63877@ida.interface-business.de> <20040509213455.GA744@timesink.dyndns.org> <20040510103204.B77963@ida.interface-business.de> <20040510113918.GA740@timesink.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20040510113918.GA740@timesink.dyndns.org>; from t.moestl@tu-bs.de on Mon, May 10, 2004 at 01:39:18PM +0200 X-Phone: +49-351-31809-14 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Organization: interface systems GmbH, Dresden cc: Thomas Moestl Subject: Re: ebus resource allocation error? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch 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 11:50:01 -0000 As Thomas Moestl wrote: > > Hmm, now that you mention it, it seems OFW indeed assigns this IRQ > > to two devices: > Well, at least three then, because it is probably also assigned to > pcib0 (if your machine matches my property dumps). Since the nexus > driver does not keep resource lists, however, the resources of its > children (e.g. the Psycho Bridges) are not displayed in the boot > messages. I should fix that some time. Ah, OK. Yes, ofwdump -ap shows me that SUNW,psycho also allocates that IRQ. > The easiest way would be 'ofwdump -ap' (FreeBSD) or 'prtconf -vp' > (Solaris). 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? -- J"org Wunsch Unix support engineer joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/