Date: Thu, 12 Feb 2009 22:12:55 +0100 From: Paolo Pisati <p.pisati@oltrelinux.com> To: Alexej Sokolov <bsd.quest@googlemail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: bus_setup_intr (9) Message-ID: <499490D7.5020306@oltrelinux.com> In-Reply-To: <671bb5fc0902121231v45317860ne3ff399c688261b1@mail.gmail.com> References: <671bb5fc0902121231v45317860ne3ff399c688261b1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexej Sokolov wrote: > from man: > int > bus_setup_intr(device_t dev, struct resource *r, int flags, > driver_filter_t filter, driver_intr_t ithread, void *arg, > void **cookiep); > > The function filter returns value of type driver_filter_t (int). This > function will run if interrupt happen. > > Question: Which function will get this returned "int value" of filter > function. Or How/where can I catch it ? > the interrupt handling framework: see sys/kern/kern_intr.c::intr_event_handle(). bye, P.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499490D7.5020306>