Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 13:07:55 -0800
From:      Kip Macy <kmacy@freebsd.org>
To:        Alexej Sokolov <bsd.quest@googlemail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: bus_setup_intr (9)
Message-ID:  <3c1674c90902121307k7cbe71d0of4940f3876f7a01c@mail.gmail.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
in HEAD, see intr_event_handle in sys/kern/kern_intr.c

Cheers,
Kip

On Thu, Feb 12, 2009 at 12:31 PM, Alexej Sokolov
<bsd.quest@googlemail.com> wrote:
> hello,
>
> 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 ?
>
> Alexej
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



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