ebus resource allocation error?

Joerg Wunsch j at ida.interface-business.de
Mon May 10 04:50:01 PDT 2004


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 at interface-systems.de        http://www.interface-systems.de/~j/


More information about the freebsd-sparc64 mailing list