From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 12 20:31:51 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 253021065674 for ; Thu, 12 Feb 2009 20:31:51 +0000 (UTC) (envelope-from bsd.quest@googlemail.com) Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mx1.freebsd.org (Postfix) with ESMTP id A53BE8FC12 for ; Thu, 12 Feb 2009 20:31:50 +0000 (UTC) (envelope-from bsd.quest@googlemail.com) Received: by bwz18 with SMTP id 18so1625497bwz.19 for ; Thu, 12 Feb 2009 12:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ma1VBqeEIk1y3bBe9mzEr4NP3lWv1JM4GGI6OXU2p2s=; b=fb0pDJDDsT+8e3bzuRbL9cUxObP7Nz1Os0aAQEw29uf1EJSfvO0hscX4FQNb4SBPiS ZSt9BasCNUOkEJiEJVggiI0Mw5sCQ+5mb+exXB9YTyGW8RkFWGzseWu93ARudYxSaKNR zsJingLhKI0Igg/2iq9Eb8u5ziaHjauztX+bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MugoObR5NzQXaV0woEE1elhYqDVTEmv31xUtj3TmCHepqgqIvVXI/HGIs2CVZIXp+v h1YLbxKGPCrNpp8zT5gNI1yB8k1Z4MbP30wbZFR4k4xYFIrcxzRSwWGOUd6pdBYJ/Zmt Be5e6dVJM3hLU6ql4A9y6/XQhL0n/ctdvgj38= MIME-Version: 1.0 Received: by 10.86.82.6 with SMTP id f6mr1646619fgb.42.1234470709411; Thu, 12 Feb 2009 12:31:49 -0800 (PST) Date: Thu, 12 Feb 2009 21:31:49 +0100 Message-ID: <671bb5fc0902121231v45317860ne3ff399c688261b1@mail.gmail.com> From: Alexej Sokolov To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: bus_setup_intr (9) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 20:31:51 -0000 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