Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 13:49:58 +0200
From:      Joerg Wunsch <j@ida.interface-business.de>
To:        sparc64@freebsd.org
Cc:        Thomas Moestl <t.moestl@tu-bs.de>
Subject:   Re: ebus resource allocation error?
Message-ID:  <20040510134958.H77963@ida.interface-business.de>
In-Reply-To: <20040510113918.GA740@timesink.dyndns.org>; from t.moestl@tu-bs.de on Mon, May 10, 2004 at 01:39:18PM %2B0200
References:  <20040509171444.B63877@ida.interface-business.de> <20040509213455.GA744@timesink.dyndns.org> <20040510103204.B77963@ida.interface-business.de> <20040510113918.GA740@timesink.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040510134958.H77963>