Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2007 18:36:39 +0100
From:      Paolo Pisati <piso@freebsd.org>
To:        Paolo Pisati <piso@freebsd.org>
Cc:        freebsd-current@mx1.freebsd.org, Goran Gajic <ggajic@afrodita.rcub.bg.ac.yu>
Subject:   Re: em0+msi related panic
Message-ID:  <20070227173639.GA2175@tin.it>
In-Reply-To: <20070227145259.GB1655@tin.it>
References:  <Pine.LNX.4.64.0702271128420.2901@afrodita.rcub.bg.ac.yu> <Pine.LNX.4.64.0702271425110.20218@afrodita.rcub.bg.ac.yu> <20070227145259.GB1655@tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 27, 2007 at 03:52:59PM +0100, Paolo Pisati wrote:
> 
> No, wait, em_intr_fast() was supposed to run as an INTR_FAST (that's
> where it gets the suffix '_fast'), and since the bus_setup_intr() 
> modification to define an INTR_FAST/filter, you use the driver_filter_t
> arg, so: 
> 
> bus_setup_intr(dev, adapter->res_interrupt, INTR_TYPE_NET,
>     em_intr_fast,NULL adapter, &adapter->int_handler_tag)
> 
> is the correct one.
> Moreover, all the filter handlers (ex INTR_FAST) return a status
> about interrupt handling, so em_intr_fast() prototype and return code
> are corrects.

a fix was just committed to HEAD: look for sys/kern/kern_intr.c
rev: 1.141.

bye,
P.



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