Date: Mon, 10 May 2004 17:11:04 +0200 From: Thomas Moestl <t.moestl@tu-bs.de> To: Joerg Wunsch <joerg_wunsch@interface-systems.de> Cc: sparc64@freebsd.org Subject: Re: ebus resource allocation error? Message-ID: <20040510151103.GA744@timesink.dyndns.org> In-Reply-To: <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> <20040510134958.H77963@ida.interface-business.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <t.moestl@tu-bs.de> http://www.tu-bs.de/~y0015675/ <tmm@FreeBSD.org> http://people.FreeBSD.org/~tmm/ "I think nighttime is dark so you can imagine your fears with less distraction." -- Calvin and Hobbes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040510151103.GA744>